I want to select records from a table that equal a given date.
I tried the following:
dim workdate as date
workdate = datevalue(text1.text)
Set bestelrs = besteldb.OpenRecordset("select * from " & ordertable & "
where datum = " & workdate)
this returns always an empty recordset.
- I changed separators in date varaible from / to -
- I changed french date notation dd-mm-yy to mm-dd-yy
- datum is a dbdate field in the table
Who can help me on this?
Thanks in advance,
Dirk Versavel
Belgium