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

how to in view designer

Status
Not open for further replies.

johnbuckley

Technical User
Mar 25, 2002
52
GB
How can I create the following view in the view designer?

Select * from table1 where;

field1=aa AND (field2=bb OR field3=cc OR filed4=dd)

Note position of brackets. I can't get it to group the OR s together.

Thanks
 
I suggest that you use the code it has made for it. Take that and modify it to create your view programmaticly.

OPEN DATABASE mydatabase
CREATE VIEW myview AS (this is the code from the view designer with the brackets you need) Attitude is Everything
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top