New and edited docs not in vew

I have inherited a complex database that was originally designed in late 90s. Each year a new database is put into production as a template of the original. It has several forms and subforms.

The problem I’m having is that when I create a new view using a formula for view selection no documents will appear in the view. However, if I change the selection criteria to “Simple Search” and leave it blank all documents appear in the view. In addition, if I use “Simple Search” and select the form I want to appear in the view, nothing appears in the view.

Subject: New and edited docs not in vew

Just a question, did you check the selection formula in the old views and tried to copy it to a new view?Are you creating a brand new view or a copy of an existing view?

Subject: RE: New and edited docs not in vew

I am creating new views not copying from another. One thing I noticed today is no matter what formula I put in the view selction (whether I write it myself or copy from an existing view) when I save and close then go back into the view in designer the selection criteria has changed to SELECT @DocNumber.

Then I discovered on the particular one I created today that the column selection in the first column was @DocNumber, and was set for Totals. When I changed it to a correct formula there were docs in the view and the view selection remained.

Seems like a really stupid mistake to make on every view I created but that seems to be the issue today, so I’ll just figure that was it all along.

I’ve been doing this for a few years on many databases and I’ve never run into this problem on any other. I guess all I needed was someone to question how I was doing things. Thanks