accvbalearner
Registered User.
- Local time
- Today, 07:46
- Joined
- Jan 3, 2013
- Messages
- 42
Hello All, hope there is someone out there who has had a similar issue and can let me know where I went wrong!
I have an Access front end using linked tables through a DSN connection to SQL Tables. I have created a form for entering data into a table. The form seems to work great, but after the data is entered the records are locked on the SQL table and can't be edited. There are existing records in the table that are fine, only the records that have been added by the form are locked.
Any ideas on how to fix this? Any help is much appreciated!
Here is the situation:
1) Form referencing two tables: Table1 with an ID number I need and Table2 using that ID and adding some data.
2) Form has a main form and two subforms: Main form just has a combobox to select the ID I need, Sub1 gets data from Table1 and shows details about the ID to help the user make sure they've selected the right one. Sub2 is for entering data into Table2.
3) The user selects the ID in the Main Form and whey they exit the combobox Sub1 Updates and the cursor jumps to Sub2 for entry.
4) The user enters the required data and it goes in to Table2 no problem.
Now the data over time changes and needs updating, so when the user goes back to update it in the form I get the Write Conflict. The same thing happens when trying to enter the update manually in the table in Access. In the actual SQL Table in SQL Studio Manager I can change the data no problem, I can also change the data using a Passthrough Query or a regular Update query in Access. I just can't change the data in the form once it is entered or in the table once it is entered.
I have an Access front end using linked tables through a DSN connection to SQL Tables. I have created a form for entering data into a table. The form seems to work great, but after the data is entered the records are locked on the SQL table and can't be edited. There are existing records in the table that are fine, only the records that have been added by the form are locked.
Any ideas on how to fix this? Any help is much appreciated!
Here is the situation:
1) Form referencing two tables: Table1 with an ID number I need and Table2 using that ID and adding some data.
2) Form has a main form and two subforms: Main form just has a combobox to select the ID I need, Sub1 gets data from Table1 and shows details about the ID to help the user make sure they've selected the right one. Sub2 is for entering data into Table2.
3) The user selects the ID in the Main Form and whey they exit the combobox Sub1 Updates and the cursor jumps to Sub2 for entry.
4) The user enters the required data and it goes in to Table2 no problem.
Now the data over time changes and needs updating, so when the user goes back to update it in the form I get the Write Conflict. The same thing happens when trying to enter the update manually in the table in Access. In the actual SQL Table in SQL Studio Manager I can change the data no problem, I can also change the data using a Passthrough Query or a regular Update query in Access. I just can't change the data in the form once it is entered or in the table once it is entered.