J
Jeff
Hi,
I have a database (table) that stores the record of vaccine given to
patient. Some vaccine may be given once, some twice, some 3 times, and some 4
times. I use DCount to count the vaccines given at a specific period of time.
I have 65,000 records in my table and have 100 lines as follow:
lngVaccineA1 = DCount("[TradeNm]", "tbVaccine", "[TradeNm] = 'VaccineA' And
[VaccNth] = '1' And [InjectDate] Between '" & Me![StartDate] & "' And '" &
Me![EndDate] & "'")
It works very slowly. Is there any other way to make it work faster? Thank
you.
I have a database (table) that stores the record of vaccine given to
patient. Some vaccine may be given once, some twice, some 3 times, and some 4
times. I use DCount to count the vaccines given at a specific period of time.
I have 65,000 records in my table and have 100 lines as follow:
lngVaccineA1 = DCount("[TradeNm]", "tbVaccine", "[TradeNm] = 'VaccineA' And
[VaccNth] = '1' And [InjectDate] Between '" & Me![StartDate] & "' And '" &
Me![EndDate] & "'")
It works very slowly. Is there any other way to make it work faster? Thank
you.