Hi,
In my database set up I have a field called start date which is a shortdate datatype.
When I compare the information from a date picker I get a data type mismatch error.
Could you help?
dpkEndDate being the datepicker.
In my database set up I have a field called start date which is a shortdate datatype.
When I compare the information from a date picker I get a data type mismatch error.
Could you help?
PHP:
Set rs = CurrentDb.OpenRecordset("SELECT ID, startDate, endDate FROM tblLeave WHERE startDate > '" & dpkEndDate & "'")
dpkEndDate being the datepicker.