Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Autonumbers in SQL

Author  Topic 

saltzmanjoelh
Starting Member

10 Posts

Posted - 2007-09-26 : 19:05:28
I have an Access db that has a linked table to a sql table. What parameters do I have to set in the SQL table to have it act like a Autonumber field so when I create a new record in access, it makes a new autonumbered record in SQL?

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-09-26 : 19:06:55
identity


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

saltzmanjoelh
Starting Member

10 Posts

Posted - 2007-09-26 : 20:06:46
Ah, the problem was it wasnt assigning the autonumber until I clicked out... Thanks
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-09-27 : 02:51:57
That's the way MS Access handles a INSERT or UPDATE to a table.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -