Additional Info: The realkey field (in gisadmin.wingapparcels) is a unique Identifier that can be used to relate to the gisadmin.saleinfo table. The realkey field is a one to many relationship from wingapparcels to saleinfo (one parcel to many sales). I have done a query to select out the parcels that have had a sale during a specific time period �?? REALKEY in (select realkey from sde_publication.gisadmin.saleinfo where saledate >= �??2007-01-01�?? AND saledate <= �??2007-12-31�?? ). This query selects all of the parcels sold in 2007.
Ultimately, I would like to return the results in the <esri: outFields>
Any ideas would be greatly appreciated! Thanks!
I have a selection that should return the top saledate field from the related saleinfo table - RecentSale1.text = graphic.attributes.RealKey in (select TOP 1 saledate FROM sde_Publication.gisadmin.saleinfo ORDER BY saledate);