Watermelon
Programmer
Hi,
I'm using the Now() function in an Access module to try to insert the current date and time into a date/time field in one of my tables. Everytime I try to run the code I get a "Syntax error in Insert statement." Here's my code:
sql = "INSERT INTO IPOClientDetails(ClientID, Date,ContactMethod)VALUES(" & rsNewOrders!ClientID & "," & Now() & "," & """Email""" & ""
Does anyone have any idea what the problem is? Thanks for any help?
SGM
I'm using the Now() function in an Access module to try to insert the current date and time into a date/time field in one of my tables. Everytime I try to run the code I get a "Syntax error in Insert statement." Here's my code:
sql = "INSERT INTO IPOClientDetails(ClientID, Date,ContactMethod)VALUES(" & rsNewOrders!ClientID & "," & Now() & "," & """Email""" & ""
Does anyone have any idea what the problem is? Thanks for any help?
SGM