Not sure if this is excactly the right place to post this question, but it is somewhat relevant to this forum I guess;
I have made a .asp-script that imports all data from WWF-v.8 access tables to MS-SQL WWF-v.8 tables. But I am not able to import the correct ID(used for primary key) for all tables (eg. author_id from the tblAuthor table). MSSQL refuses to let me use the imported value, and insists on priming a new value for these fields. This means that all relations between tables goes out the window.
Anyone knows how to overwrite the Ident column of the MSSQL-tables?
Heres an exampe of my code:
Do While Not NewsTableInn.EOF
NewsTableUt.AddNew
'NewstableUt.Fields("Cat_ID") = NewstableInn.Fields("Cat_ID") <----- This line causes error
NewstableUt.Fields("Cat_Name") = NewstableInn.Fields("Cat_Name")
NewstableUt.Fields("Cat_Order") = NewstableInn.Fields("Cat_Order")
NewsTableUt.Update
NewsTableInn.MoveNext
Loop
If I get this to work, I can post the final script here if someone is interrested.
regards,
Bjørn Holm