Hi there!
I've got the following code on my database:
strcriteria = "[date] = #txtDay1.value# "
Set rst = dbs.OpenRecordset("tblPlanner", dbOpenDynaset)
rst.FindFirst strcriteria
The problem is when I run the code it have the following error:
Run time error '3077'
"syntax error in date in expression"
I've formated boths date field and txtday1 on short date.
Is there anyone that could tell me what wrong am I doing?
Thanks
Jonybravo
I've got the following code on my database:
strcriteria = "[date] = #txtDay1.value# "
Set rst = dbs.OpenRecordset("tblPlanner", dbOpenDynaset)
rst.FindFirst strcriteria
The problem is when I run the code it have the following error:
Run time error '3077'
"syntax error in date in expression"
I've formated boths date field and txtday1 on short date.
Is there anyone that could tell me what wrong am I doing?
Thanks
Jonybravo