Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apply Filter shows all records when in Data Entry Mode...

Status
Not open for further replies.

MeisoT

Technical User
Apr 25, 2004
43
US
I have a form with its property settings set to allow additions, deletions, and edits. The Data Entry property is also set to true because I want the user to see a blank form with no existing records when the form opens. When the form is opened, the data mode argument is left out so that the form's property settings are used.

There is no criteria set in the form's query.

It works as expected when the form is opened (shows no records), however, if the user clicks the "Apply Filter" or "Remove Filter" button, all the records in the underlying recordset are displayed. I would like the filter buttons to show only newly added records since the form has been opened, not any of the previous existing records.

What am I doing wrong? Or is this the normal behavior of Access?

Any input is appreciated.
 
Hi, MeisoT,

I believe this is normal Access behavior. I think to get around this you will need to disable menus and button bars in the DB startup options, then build your own custom menus - that is, if you need menubar functionality. It's possible to construct a database where user interaction is controlled entirely by the switchboard and forms.

Ken S.
 
Thanks Eupher,

I already have a custom toolbar set up so I guess I will have to disable the filter buttons or set some type of criteria to limit the records before the filter is applied.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top