C
Chaplain Doug
I have a query that is extremely slow (takes 59 seconds to
complete). The columns that seems to cause the slowness
are:
Inactive: IIf(IsDate(LastAssignmentDate([StudentID])) And
DateDiff("d",Date(),LastAssignmentDate([StudentID]))<-
60,True,False)
Grad: Diploma([StudentID])
When I put a Criteria of "False" for these columns the
query goes very slow. When there is no criteria, it is
fast (virtually instantaneous). LastAssignmentDate and
Diploma are public functions that reside in a module.
What am I doing wrong or how may I remedy this slow query
situation? Thanks for the help.
complete). The columns that seems to cause the slowness
are:
Inactive: IIf(IsDate(LastAssignmentDate([StudentID])) And
DateDiff("d",Date(),LastAssignmentDate([StudentID]))<-
60,True,False)
Grad: Diploma([StudentID])
When I put a Criteria of "False" for these columns the
query goes very slow. When there is no criteria, it is
fast (virtually instantaneous). LastAssignmentDate and
Diploma are public functions that reside in a module.
What am I doing wrong or how may I remedy this slow query
situation? Thanks for the help.