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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to open form in Filter by Form mode with Access 97

Status
Not open for further replies.

mundia22

ISP
Apr 23, 2002
17
0
0
GB
Hi guys, i am fairly a novice at these data base things, but i notice on the records menu in access 97 you can apply this filter by form thingy, I have created a button and it's purpose will be just to open the form and do the above command. Thanks in advance.
 
docmd.openform "formname",acnormal

opens the form

in the on load event of the to open formset this

me.filter = "field = value"
me.filteron = true

Christiaan Baes
Belgium
"What a wonderfull world" - Louis armstrong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top