If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Criteria in Querry to include All and Empty Field
Thanks. I learned this one the hard way.
"John W. Vinson" wrote in message ... On Sat, 27 Feb 2010 22:26:01 -0800, Tom Ventouris wrote: Thank you. I see, now, the significance of putting the criteria in the SQL statement. It's all working. "KenSheridan via AccessMonster.com" wrote: This is why its much easier to write (and save) the query as SQL; you just tack each parenthesised OR operation together in a set of AND operations: Just one warning: if you carefully construct a beautiful such multicriterion query in SQL... and then open it in Query Design view... Access will turn it into a total mess. It may in fact cease to work correctly, and it will totally scramble your SQL (adding a calculated field for each criterion, etc.) So... create it in SQL and *NEVER* open it in the query design grid! -- John W. Vinson [MVP] |
|
Thread Tools | |
Display Modes | |
|
|