F
Faraz Azhar
Hello
Im trying to use the append query to add a new record to a table.
I have a table which has four fields (ID, Name, Email, Age). The ID
field is autonumber.
I write the following SQL statement:
INSERT INTO Table1 (Name, Email, Age)
VALUES ("Faraz", "(e-mail address removed)",24);
The above sql doesnt work. It gives error. I think its because I am
not providing the autonumber, but I cant provide the autonumber.... I
want to program in such a way that things arent hard-coded. So
autonumber is unknown to me, Access should assign it on its own. So
what else could be the error?
Any help please.
Im trying to use the append query to add a new record to a table.
I have a table which has four fields (ID, Name, Email, Age). The ID
field is autonumber.
I write the following SQL statement:
INSERT INTO Table1 (Name, Email, Age)
VALUES ("Faraz", "(e-mail address removed)",24);
The above sql doesnt work. It gives error. I think its because I am
not providing the autonumber, but I cant provide the autonumber.... I
want to program in such a way that things arent hard-coded. So
autonumber is unknown to me, Access should assign it on its own. So
what else could be the error?
Any help please.