A
Andrew
Hi,
I have a text box (Txt_Comments_Date) on a form. I have entered the date
15/07/08 (and it is formatted "dd/mm/yy").
Comments_Date = Format(Me!Txt_Comments_Date, "dd/mm/yy")
I want to place that value into a table using:
DoCmd.RunSQL "UPDATE Tbl_TAR_Toy_Cat_Replies SET
Tbl_TAR_Toy_Cat_Replies.[Buying Offce Comments Date] = #" & Comments_Date &
"# WHERE (((Tbl_TAR_Toy_Cat_Replies.[Buying Offce Comments Date]) Is Null));"
I always end up with 08/07/15 in the table even though the table field is
also formatted dd/mm/yy.
Please advise
I have a text box (Txt_Comments_Date) on a form. I have entered the date
15/07/08 (and it is formatted "dd/mm/yy").
Comments_Date = Format(Me!Txt_Comments_Date, "dd/mm/yy")
I want to place that value into a table using:
DoCmd.RunSQL "UPDATE Tbl_TAR_Toy_Cat_Replies SET
Tbl_TAR_Toy_Cat_Replies.[Buying Offce Comments Date] = #" & Comments_Date &
"# WHERE (((Tbl_TAR_Toy_Cat_Replies.[Buying Offce Comments Date]) Is Null));"
I always end up with 08/07/15 in the table even though the table field is
also formatted dd/mm/yy.
Please advise