|
Some of the ways Query does stuff is a little crude. For example, Query doesn't use any JOINs - it links files together only by using WHEREs. Therefore when you use options in Query like the matching records with primary file, kind of stuff what you get may not be what query actually uses. Hence the command ANZQRY. It tells you when RTVQMQRY will lie. Also, your record selection can often be prettied up with the use of parenthesis - something Query sorely lacks. For example how would you do the following in Query? where (field1>100 and (field2>200 or field3<700)) And if you did figure out how to do it in Query, what would a RTVQMQRY of that query show you? Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.