I have a macro that I want to run that will loop through records (in a particular field) in a table and look for any that have the date MM/03/YYYY, where the month and the year is the current month and year, but it has to be the third of that month and year.
I have tried it with the now() function, but that includes the time and i don't have that.
The table name is - Tbl_Payment_Information
The field is called - NextPaymentDueDate
I want to do something like the following:
While loop
sql to retrieve all the records
Compare Date in the field to current month/03/current year
end loop
I have tried it with the now() function, but that includes the time and i don't have that.
The table name is - Tbl_Payment_Information
The field is called - NextPaymentDueDate
I want to do something like the following:
While loop
sql to retrieve all the records
Compare Date in the field to current month/03/current year
end loop