Link to home
Start Free TrialLog in
Avatar of Basicfarmer
BasicfarmerFlag for United States of America

asked on

Inserting Data into a Memo Type field

Hello, i have written and insert statement to insert data into a table. The very last field in the table and in the insert statement is a memo type field. When i run this statement i get a Syntax Error. If i remove the memo field data from the statement it runs just fine and inserts all of the data. What i am missing here? I don't see it. Should i be formatting it differently for the memo field?

INSERT INTO ShipTo (ProjectID,Company,Attention,Address1,City,StateID,Zip,Phone,Email,Note) VALUES (4,'My Company','Johnny Rocket','2000 My Street','Fort Worth',43,'76001','817-626-0987','me@gmail.com','This is a memo test.')
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

Try:

"INSERT INTO ShipTo (ProjectID,Company,Attention,Address1,City,StateID,Zip,Phone,Email,[Note]) VALUES (4,'My Company','Johnny Rocket','2000 My Street','Fort Worth',43,'76001','817-626-0987','me@gmail.com','This is a memo test.');"

Also verify that the field Note is not named "Notes"

Regards,

Bill
If previous comments do not resolve the problem, upload a database showing the issue.
Avatar of Basicfarmer

ASKER

Changing the field Note to Notes was the answer...