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 bkrike 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 into TABLE.

E.G.

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

For some reason this won't work. Anyone know why I might be getting this error. Your help is really appreciated!!! TIA!
 
I have tried your insert statement and it works on MS-Access 97 SR2
The reason for failure could be SR1, it had several problems with queries.
 
Possible typo?

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

Needs a space after the "(FirstName,".

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




MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top