The order of queries

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
happydermis
Posts: 63
Joined: Tue Oct 10, 2017 12:44 pm

The order of queries

Post by happydermis » Wed Feb 16, 2005 12:31 pm

Hi,____Does the order of the queries in a report have a meaning? Is it possible that a certain order of queries will deliver a false report?____Thanks, Dekers

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: The order of queries

Post by kfleming » Wed Feb 16, 2005 4:08 pm

It is only important when you have clauses that are joined by both AND and OR operators. In this case, you may need to add additional parentheses to force the desired order or evalution.____FIELDA=1 and FIELDB=2 or FIELDB=3____will give you all the FIELDB 3 records with any value of FIELDA____Where__FIELDA=1 and (FIELDB=2 or FIELDB=3)____will give you all the FIELDA 1 records where FIELDB has either a 2 or a 3.____Kathleen__R&R Support

Post Reply