D
Daniel-Snack
I have a site tbl with an indexed SiteID field as primary key), and a sales
table with an indexed "DateOfService" field. I have done two queries to
retrieve the most recent sale for each "SiteID" from the salestbl using the
following criteria:
DMax("[DateOfService]","[tblsales]","[SiteID] = " & [SiteID])
There are 2400 records in the sites table and 30,000 records in the sales
table. When run the query it takes about 90-120 seconds (a lifetime). Any
answers for me
PS just found this site and I'm in heaven thanks to all the smartys out
there...
Daniel-Snack
table with an indexed "DateOfService" field. I have done two queries to
retrieve the most recent sale for each "SiteID" from the salestbl using the
following criteria:
DMax("[DateOfService]","[tblsales]","[SiteID] = " & [SiteID])
There are 2400 records in the sites table and 30,000 records in the sales
table. When run the query it takes about 90-120 seconds (a lifetime). Any
answers for me
PS just found this site and I'm in heaven thanks to all the smartys out
there...
Daniel-Snack