G
Guest
I've got a query in MS Access 2000 that's got several fields with lookup
functions, such as this:
Prior Date: DMax("AS_OF_DT","DAILY_LOG","AS_OF_DT<#" & [Current Date] & "#")
From a design standpoint, it was easier for me to create the query using
something like that. However, the query has grown (more fields, more data)
and it's starting to run very slow. I know I could probably re-write the
above expression as a sub-query, something like:
Prior Date: ("SELECT MAX(AS_OF_DT) FROM DAILY_LOG WHERE AS_OF_DT<>#" &
[Current Date] & "#")
However, before I go to the time to do that, can anyone tell me whether I
would see an appreciable increase in query performance?
functions, such as this:
Prior Date: DMax("AS_OF_DT","DAILY_LOG","AS_OF_DT<#" & [Current Date] & "#")
From a design standpoint, it was easier for me to create the query using
something like that. However, the query has grown (more fields, more data)
and it's starting to run very slow. I know I could probably re-write the
above expression as a sub-query, something like:
Prior Date: ("SELECT MAX(AS_OF_DT) FROM DAILY_LOG WHERE AS_OF_DT<>#" &
[Current Date] & "#")
However, before I go to the time to do that, can anyone tell me whether I
would see an appreciable increase in query performance?