Hi, back again with one more trouble.
While there is no problem with data transfer between 2 Access tables with auto numbering PKI - Access keeps the key values equal in the 2 tables - when transferring from Access to Sql Server, the latter generates its own values in the PKI column, so you no longer can compare the two tables, nor is it possible to transfer data to related tables – as the key value needed for the joined fields changed.
Curiously you can change the values under the key in the SQL tables – something not possible for Access auto number PKI - so you could correct the SQL PKI column after transfer. However to do this you would need a reference to identify the registers, ie add a clone column to be filled with the original PKI data.
Or you don´t use SQL auto number PKI before transfer, changing the SQL PKI to auto numbering after data transfer (I suppose you can do that)
I don’t like any of the 2 solutions. Who knows a better way out?
Thank you for any reply,
While there is no problem with data transfer between 2 Access tables with auto numbering PKI - Access keeps the key values equal in the 2 tables - when transferring from Access to Sql Server, the latter generates its own values in the PKI column, so you no longer can compare the two tables, nor is it possible to transfer data to related tables – as the key value needed for the joined fields changed.
Curiously you can change the values under the key in the SQL tables – something not possible for Access auto number PKI - so you could correct the SQL PKI column after transfer. However to do this you would need a reference to identify the registers, ie add a clone column to be filled with the original PKI data.
Or you don´t use SQL auto number PKI before transfer, changing the SQL PKI to auto numbering after data transfer (I suppose you can do that)
I don’t like any of the 2 solutions. Who knows a better way out?
Thank you for any reply,