Hi guys
I am looking for an answer to a Dcount query. I am pretty new to it and have look through the internet but cannot get what I need to know.
I was wondering if you could help?
Thanks in advance
I want my results to only show if they are less than the date I have specified in the Variable
PRIORITY Dim$
PRIORITY = "06/08/2010"
RESULT = DCount("[AccountNumber]", "MainTable", "[CampaignTitle] = ‘Mission’ and [CurrentStatus] = 'unallocated' and [LoadedDate] < PRIORITY ")
Also, It is possible to have the variable get the date from a form rather than having to update it in the module? Come to the end of the module I am looking to have many results all looking at the same date so only want to have to change it once.
Hope this makes sense
Thanks for your help
Tozey
I am looking for an answer to a Dcount query. I am pretty new to it and have look through the internet but cannot get what I need to know.
I was wondering if you could help?
Thanks in advance
I want my results to only show if they are less than the date I have specified in the Variable
PRIORITY Dim$
PRIORITY = "06/08/2010"
RESULT = DCount("[AccountNumber]", "MainTable", "[CampaignTitle] = ‘Mission’ and [CurrentStatus] = 'unallocated' and [LoadedDate] < PRIORITY ")
Also, It is possible to have the variable get the date from a form rather than having to update it in the module? Come to the end of the module I am looking to have many results all looking at the same date so only want to have to change it once.
Hope this makes sense
Thanks for your help
Tozey
