I am setting an embedded SQL in code and it's not working. I'm a bit puzzled.
I have a date/time on a form. Ex. 11/10/2010 5:34:03 AM
and the SQL to pull the record from the table....
sSQL = "SELECT Task_Information.* FROM Tasks WHERE _
Task_Received = " & "#" & me.txtReceived & "#"
This code pulls no records and I know the record is there,
what am I doing wrong. Any help would be great.
I have a date/time on a form. Ex. 11/10/2010 5:34:03 AM
and the SQL to pull the record from the table....
sSQL = "SELECT Task_Information.* FROM Tasks WHERE _
Task_Received = " & "#" & me.txtReceived & "#"
This code pulls no records and I know the record is there,
what am I doing wrong. Any help would be great.