N
Nick I
I have a VERY slow report that includes alot of DCounts, and DMins. I know
this is the reason why my report is slow, but I don't know how to get rid of
them. My report basically is just a bunch of combo boxes that display one
number, many of which come from different tables....
I'm not sure how I can use the recordsource property of a report to help me
speed up my report, but maybe there is another way?
For the first four combo boxes, these are the controlsources:
1. =DCount("[CRDATTIM]","MastrOutstandingWorkByUnit","[QUEUECD] = 'indcall'
And [OSTANDDAT] = Date() ")
2. =DCount("[CRDATTIM]","MastrOutstandingWorkByUnit","[QUEUECD] = 'bfacall'
And [OSTANDDAT] = Date() ")
3. =DCount("[CRDATTIM]","qry_CALLPEND-IA","[OSTANDDAT] =Date() And
[TEAMNAME] = 'IA1' ")
4. =DCount("[CRDATTIM]","qry_CALLPEND-IA","[OSTANDDAT] =Date() And
[TEAMNAME] = 'IA2' ")
5. =DCount("[CRDATTIM]","Qry_Date Function-IA","[OutstandingDays2] = '<15'
And [OSTANDDAT] = Date() ")
Anyone have any suggestions on how I can make my report run at least a
little bit faster? Right now there are about 25 of these combo boxes, and the
report takes over 10 minutes to run and it's driving me crazy...
Thanks,
Nick
this is the reason why my report is slow, but I don't know how to get rid of
them. My report basically is just a bunch of combo boxes that display one
number, many of which come from different tables....
I'm not sure how I can use the recordsource property of a report to help me
speed up my report, but maybe there is another way?
For the first four combo boxes, these are the controlsources:
1. =DCount("[CRDATTIM]","MastrOutstandingWorkByUnit","[QUEUECD] = 'indcall'
And [OSTANDDAT] = Date() ")
2. =DCount("[CRDATTIM]","MastrOutstandingWorkByUnit","[QUEUECD] = 'bfacall'
And [OSTANDDAT] = Date() ")
3. =DCount("[CRDATTIM]","qry_CALLPEND-IA","[OSTANDDAT] =Date() And
[TEAMNAME] = 'IA1' ")
4. =DCount("[CRDATTIM]","qry_CALLPEND-IA","[OSTANDDAT] =Date() And
[TEAMNAME] = 'IA2' ")
5. =DCount("[CRDATTIM]","Qry_Date Function-IA","[OutstandingDays2] = '<15'
And [OSTANDDAT] = Date() ")
Anyone have any suggestions on how I can make my report run at least a
little bit faster? Right now there are about 25 of these combo boxes, and the
report takes over 10 minutes to run and it's driving me crazy...
Thanks,
Nick