Hello all;
I am trying to run an Insert Into statement from an event in an Access form, and I get the following error message:
"Run-time erorr 3134. Syntax error in INSERT INTO statement."
Here is my code:
INSERT INTO Restock Orders (PONumber, DateOrdered) VALUES ('10048BO1', '#12/24/2002#')
I tried the date field with quotes, and without quotes, with no luck. I also tried it without the '#' delimeters too. PONumber is a text type in my table, because it contains letters as well as numbers.
Any ideas would be greatly appreciated.
Thanks!
Steve
I am trying to run an Insert Into statement from an event in an Access form, and I get the following error message:
"Run-time erorr 3134. Syntax error in INSERT INTO statement."
Here is my code:
INSERT INTO Restock Orders (PONumber, DateOrdered) VALUES ('10048BO1', '#12/24/2002#')
I tried the date field with quotes, and without quotes, with no luck. I also tried it without the '#' delimeters too. PONumber is a text type in my table, because it contains letters as well as numbers.
Any ideas would be greatly appreciated.
Thanks!
Steve