Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert into statement errors

Status
Not open for further replies.

iXPhound

Technical User
Feb 25, 2001
146
US
Hi all! When I attempt to use the Insert into statement I get an Expected: end of statement error and it highlights the insert to TABLE name.

E.G.

INSERT INTO Employees (FirstName, LastName, Title) VALUES ('Harry', 'Washington', 'Trainee');

I have upgraded to Access SR-2 with no success. Is there sometime of reference that I have to turn on, or a specific order it has to be in?

Anyone know why I might be getting this error. Your help is really appreciated!!! TIA!
 
Try this:

INSERT INTO Employees (FirstName, LastName, Title) SELECT ('Harry', 'Washington', 'Trainee'); Jim Lunde
compugeeks@hotmail.com
Custom Application Development
 
Same error...Expected: End of Statement. Any other suggestions? I really appreciate the help.
 
Where are you doing this at? In a query or in code? Jim Lunde
compugeeks@hotmail.com
Custom Application Development
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top