Filtering Data
Posted: Fri Nov 19, 2010 2:03 pm
I need to do some filtering in one table based on the data in a second table.
The first table is called Parcel and it contains information about land parcels.
The second table is called Recon and it has value reconciliation data about each parcel (reasons why the value changed). Records in the Recon table have a reconcode from 90 to 99.
For each record in the Parcel table there can be anywhere from zero to 10 records in the Recon table.
I need to do filtering as follows:
1. If a parcel in the Parcel table has no recon codes in the recon table I DO NOT want it to be displayed.
2. If a parcel in the Parcel table has ONLY a recon code of 98 in the recon table I DO NOT want it to be displayed.
3. If a parcel in the Parcel table has more than one recon code, including 98, I DO want it to be displayed.
Thanks for your help.
The first table is called Parcel and it contains information about land parcels.
The second table is called Recon and it has value reconciliation data about each parcel (reasons why the value changed). Records in the Recon table have a reconcode from 90 to 99.
For each record in the Parcel table there can be anywhere from zero to 10 records in the Recon table.
I need to do filtering as follows:
1. If a parcel in the Parcel table has no recon codes in the recon table I DO NOT want it to be displayed.
2. If a parcel in the Parcel table has ONLY a recon code of 98 in the recon table I DO NOT want it to be displayed.
3. If a parcel in the Parcel table has more than one recon code, including 98, I DO want it to be displayed.
Thanks for your help.