KellyGroom
Registered User.
- Local time
- Yesterday, 17:36
- Joined
- Sep 6, 2007
- Messages
- 16
Hello
I have an access 2007 database and have migrated all the tables over to SQL 2005 Server Management Studio in order to add security to my database. I used the access wizard for migration via triggers.
One of my main forms is used to add new users or it can also be used to modify any existing user details by first selecting from a combo dropdown in a seperate form. In this main form there is a tabbed control area and each tab contains a linked subform. This all worked fine until I migrated my tables to SQL.
If a user is modified everything still works ok and data can be added or amended in the main form or linked subforms. However when trying to add a new form, data can be added to the main form and first sub form but the moment I click off of the sub form or even try accessing other sub forms (either before or after adding data to the first sub form) I recieve the following error
ODBC--insert on a linked table 'T_User' failed.
I have checked and recreated my relationships in SQL, my database is in a trusted location, all tables have a primary key and I also have foreign keys connecting tables. I have checked in my forms and sub forms that the master and child links are correct and also that the sub forms include the relevant foreign key and finally all data properties are set to Yes for adding or editing records.
I would be grateful for any input or light anyone could shed on this.
Many thanks
Kelly
I have an access 2007 database and have migrated all the tables over to SQL 2005 Server Management Studio in order to add security to my database. I used the access wizard for migration via triggers.
One of my main forms is used to add new users or it can also be used to modify any existing user details by first selecting from a combo dropdown in a seperate form. In this main form there is a tabbed control area and each tab contains a linked subform. This all worked fine until I migrated my tables to SQL.
If a user is modified everything still works ok and data can be added or amended in the main form or linked subforms. However when trying to add a new form, data can be added to the main form and first sub form but the moment I click off of the sub form or even try accessing other sub forms (either before or after adding data to the first sub form) I recieve the following error
ODBC--insert on a linked table 'T_User' failed.
I have checked and recreated my relationships in SQL, my database is in a trusted location, all tables have a primary key and I also have foreign keys connecting tables. I have checked in my forms and sub forms that the master and child links are correct and also that the sub forms include the relevant foreign key and finally all data properties are set to Yes for adding or editing records.
I would be grateful for any input or light anyone could shed on this.
Many thanks
Kelly