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

Using a WHERE clause in Docmd.openform

Status
Not open for further replies.

dhaveedh

Programmer
Aug 13, 2003
112
GB
I have two forms A and B. I want to open form B when I click a button in form A. This is straighforward.

What I want to do is specify a criteria in the where clause of the Docmd.openform statement. This criteria is to serve as a filter for Form B so that i only display certain records.

The two forms are based on the same table and I want Form B to open from Form A based on a criteria in the table.

Can anyone help?



KISS - Keep It Simple Sugar!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top