![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I am trying to figure out if this is possible. I need to transfer data from SQL server(from a web application) into an Access database multiple times, both the SQL server database and Access will have data inputed into them at various times. The Access database has an autonumber field as a primary key. I know that I can insert data using DTS by enabling identity insert. The problem is that the Access database will get more data into it manually after my transfer and if say the last id that I inserted was 1000, then the next record in Access will be 1001, but in SQL Server if someone makes an insert it will also have a record 1001. I could insert the data from SQL server without the primary key field but there are related child tables. I need to know if there is a way for me to get the new autonumber created in Access as I insert records from SQL Server so I can also import the related child records. Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |