smercer
Registered User.
- Local time
- Tomorrow, 10:45
- Joined
- Jun 14, 2004
- Messages
- 442
Hi all
I am having a problem with a Dcount that returns zero when counting the todays records even though there are records with todays date.
here is my code:
"Total_Each_Book_Count" is a variable
I have tried to have a query count the records but I need to write code for when there are zero records.
Does any one have any ideas?
Thanks in advance
I am having a problem with a Dcount that returns zero when counting the todays records even though there are records with todays date.
here is my code:
Code:
Total_Each_Book_Count = DCount("Book_Id", "tbl_Sales_Each_Book_Completed", "Date_Sold = " & Date)
"Total_Each_Book_Count" is a variable
I have tried to have a query count the records but I need to write code for when there are zero records.
Does any one have any ideas?
Thanks in advance
Last edited: