G
Guest
I'm having difficulties getting the DCount function to work with a variable
as the criteria. Here is my code so far:
Dim numberorrecords As Integer
numberofrecords = DCount
("EntityRecordNumber", "EXTRACTED_Entities", "[ENTITY_IMPORT_DATE] = " &
timestamp)
I want to count the how many records (EntityRecordNumber) there are on my
Extracted_Entities table, whose value for the ENTITY_IMPORT_DATE field equals
the value set in the variable "timestamp"....what am I doing wrong????
as the criteria. Here is my code so far:
Dim numberorrecords As Integer
numberofrecords = DCount
("EntityRecordNumber", "EXTRACTED_Entities", "[ENTITY_IMPORT_DATE] = " &
timestamp)
I want to count the how many records (EntityRecordNumber) there are on my
Extracted_Entities table, whose value for the ENTITY_IMPORT_DATE field equals
the value set in the variable "timestamp"....what am I doing wrong????