E
enrico
how do you use @@identity? i read it somewhere and it could be helpful on my
code. how can i insert it on my INSERT statement?
code. how can i insert it on my INSERT statement?
That's not quite correct:@@IDENTITY is a SQL Server feature, not an Access one.
i look at the link that was attach and i barley grasp the idea. i want to
insert the newly generated auto-increment ID to the foreign key of my other
table to link the two tables. i have to tables, namely: tblGenInfo and
tblResult which is link through my "GIID". i created their form(only one for
two tables) though design view and the INSERT statement is hard coded. when
it comes to saving data(only one button for both) to my tblResult i don't
know how to insert the newly generated "GIID" from tblGenInfo into tblResult.
can anyone help or give a sample on how to do this?
i've gone far already and if i create a new form again and use what u said
i'll go back to start again. i just thought it could be possible to just use
something like last inserted ID