Trevor G
Registered User.
- Local time
- Today, 14:31
- Joined
- Oct 1, 2009
- Messages
- 2,368
I have created a form which has 28 unbound text boxes where I am using the Dlookup formula to gather totals of one type or another, but I have over a million records to check so it takes a while to populate. I was wondering if there is a quicker alternative. An extract of the forumla's are as follows:
Straight forward totals, average, min, max and counts
=DSum("[Limit]","Combined")
=DAvg("[limit]","combined")
=DCount("[system]","combined")
=DMax("[limit]","combined")
=DMin("[limit]","combined")
And then I am dealing with years
=DSum("[Limit]","Combined","[Underwriting Year]=2009")
=DAvg("[limit]","combined","[Underwriting Year]=2009")
=DCount("[system]","combined","[Underwriting Year]=2009")
=DMax("[limit]","combined","[Underwriting Year]=2009")
=DMin("[limit]","combined","[Underwriting Year]=2009")
I repeat these for 2010 and 2011, then I use the same formula for different fields.
The form has each grouped and colour coded to act like a dashboard and looks nice, but would like to see if it can be populated quicker
Any suggestions would be appreciated
Straight forward totals, average, min, max and counts
=DSum("[Limit]","Combined")
=DAvg("[limit]","combined")
=DCount("[system]","combined")
=DMax("[limit]","combined")
=DMin("[limit]","combined")
And then I am dealing with years
=DSum("[Limit]","Combined","[Underwriting Year]=2009")
=DAvg("[limit]","combined","[Underwriting Year]=2009")
=DCount("[system]","combined","[Underwriting Year]=2009")
=DMax("[limit]","combined","[Underwriting Year]=2009")
=DMin("[limit]","combined","[Underwriting Year]=2009")
I repeat these for 2010 and 2011, then I use the same formula for different fields.
The form has each grouped and colour coded to act like a dashboard and looks nice, but would like to see if it can be populated quicker
Any suggestions would be appreciated