× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>  need to find out if records are being posted twice to an inventory
>  file-and query is all that I have to work with.
>  Is there a way to use query to select records from a file based on the fact
>  that the data in several fields is identical to the data in those fields in
>  another record when in fact that combination of fields should be unique in
>  the file?

I have done something very similar.
You can use query to create a work file.
I have a library used exclusively for work files from Query & IBM *OUTFILEs.

You can create a query to COUNT number of records that have certain
characteristics & combinations, and put THAT in a query work file.

Now use another query to read your work file & only include the dat there
that is a count of more than one.  Do your subtotals, of the query to the
work file, such that you have in the total records the fields to match back
to the original data, so you end up only listing the duplications,

MacWheel99@aol.com (Alister Wm Macintyre) (Al Mac)


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.