if u are inserting into a table which has an autonumber value, u dont have to specify the id in the insert statement
table : names
id
last_name
first_name
INSERT into names (last_name,first_name) values("john","doe");
even though warozzo 's code is right it may not be ideal in your case if you want to insert into the table with a id, cause another id may be generated in between the time u execute the code and the INSERT statement
reg
kevin