Hi,
I've got a table with field called 'CheckpointDate' .
I have a form with a text entry box called 'CheckDate'. Both are formtted as medium date.
The user enters a CheckDate and clicks a button which will update the field in the table (amongst other things)
The code is:
SQLString = "UPDATE tbl_Docs SET tbl_Docs.CheckpointDate = " & Me!CheckDate & " WHERE (tbl_Docs.ReAssignFlag =Yes)"
DoCmd.RunSQL SQLString
The problem is that the actul final value in the table is sort of a time format (eg 01:01:28). Why does the date format (and value) not get carried over from the date entry to the table.
Thanks
I've got a table with field called 'CheckpointDate' .
I have a form with a text entry box called 'CheckDate'. Both are formtted as medium date.
The user enters a CheckDate and clicks a button which will update the field in the table (amongst other things)
The code is:
SQLString = "UPDATE tbl_Docs SET tbl_Docs.CheckpointDate = " & Me!CheckDate & " WHERE (tbl_Docs.ReAssignFlag =Yes)"
DoCmd.RunSQL SQLString
The problem is that the actul final value in the table is sort of a time format (eg 01:01:28). Why does the date format (and value) not get carried over from the date entry to the table.
Thanks