criteria (1 Viewer)

DT

Registered User.
Local time
Yesterday, 22:55
Joined
Oct 23, 2000
Messages
83
I'm trying set the query criteria from a textbox on a form. It's a Status field in the query. 1 = Open, 2 = Closed. If I set the criteria to "1" it shows all open, "2" and it shows all closed and "1" or "2" it shows all. The problem I'm having is setting these in the form. I've set the query to pull the value from the form. I can get the Open or Closed to work but not the All. My textbox shows exactly how the criteria should read "1" or "2" but doesn't show any results. Does this make sense?

Thanks
 

DT

Registered User.
Local time
Yesterday, 22:55
Joined
Oct 23, 2000
Messages
83
Perfect!!!...didn't know that was an option.
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 22:55
Joined
Aug 30, 2003
Messages
36,133
Happy to help!
 

Users who are viewing this thread

Top Bottom