Open Form – Where condition – multi criteria (1 Viewer)

MichalB

New member
Local time
Today, 09:42
Joined
Oct 15, 2012
Messages
4
Hi All,

Apologies if I overlooked answer to my question in other threads.
How from one form open other form for specific records, I know there is a simple way (Access 2010) to use macro wizard but this works only for if I use one criteria (where condition) ID=ID, Name=Name etc, but how I can use two conditions ID=ID and Name=Name???
 

Artair

Registered User.
Local time
Today, 09:42
Joined
Jan 12, 2013
Messages
11
If you want to use more than one criteria, you simply write it like "[ID]=1 And [Name]='Joe Bloggs'"

If you want to refer to fields on the form, use something like "[ID]=" & Me.ID & " And [Name]='" & Me.Name & "'"
 

MichalB

New member
Local time
Today, 09:42
Joined
Oct 15, 2012
Messages
4
It works now. Thanks!
 

Users who are viewing this thread

Top Bottom