BamaColtsFan
Registered User.
- Local time
- Today, 18:14
- Joined
- Nov 8, 2006
- Messages
- 91
Hey gang!
Ok, so I'm using a DLookUp on a form (several, actually) to compute the percentage of a certain portion of my dataset. The DLookUp method works and seems to return the correct values but it takes a horribly long time populate the calculated fields. This is what I have in the control source of text boxes I am using to do the calculation:
So, is there any way I can speed this up and still get the same results?
As always, Thanks in advance for any advice you can offer...
Ok, so I'm using a DLookUp on a form (several, actually) to compute the percentage of a certain portion of my dataset. The DLookUp method works and seems to return the correct values but it takes a horribly long time populate the calculated fields. This is what I have in the control source of text boxes I am using to do the calculation:
Code:
=DSum("[Civilian]","qryStatusByCatFinal","[Status] in ('Approved','Pending')") /DLookUp("[Civilian]","qryStatusByCatFinal", "[Status] = 'Total'")
So, is there any way I can speed this up and still get the same results?
As always, Thanks in advance for any advice you can offer...