Access 2010.
Split Database.
I have a 'Save' button on a Form that Inserts a record with 6 values into a linked table using something like this:
Code:
strSQL = "INSERT INTO Work_Load_Daily (Work_Date, Master_Category, Type, Accounts, UserID, DateTime_Entered) "
strSQL = strSQL & "VALUES (" & "#" & Work_Date & "#" & ", " & "'" & strMasterCat & "'" & ", " & "'" & strType & "'" & ", " & intAccounts & ", " & "'" & strUser & "'" & ", " & "#" & TimeStamp & "#" & "); "
DoCmd.SetWarnings WarningsOff
DoCmd.RunSQL strSQL
DoCmd.SetWarnings WarningsOn
On my computer, this works just fine and the record is inserted as required.
When I copied the Front end to a user's machine and tried to add a record - I got an error that said something like:
Operation must have an updateable query . . .
In the same DB - on the user's machine, I am able to open up and view [using buttons on another form] previous records that I entered during testing from my machine . . .
My first thought was whether the User needs permission to write to the location that the linked tables are in . . . but I don't know for sure.
I thought that since I have the tables on a 'shared' drive that all users have access to . . .
Any ideas?
Thanks!!
Robeen