Run-time Error 3073 : Operation must use an updateable query

Santhosh23

New Member
Joined
Aug 3, 2015
Messages
11
Hi ..

I created a db in access in which the users login and enter few information in subform which gets stored into a table. Everything was working fine. I just splitted my db into front end and back end . I used my front end to work the same.. but when i click the save button I got an 3073 error that operation must use an updateable query. The query is given below ,

CurrentDb.Execute "INSERT INTO RecordTable([User],[Barcode],[ToolCareJob],[Worked On Activity],[Start Time],[End Time],[Work Time])" & _
"VALUES ('" & Me.txtUser & " ' ,'" & Me.txtbarcode & "','" & Me.cboToolcarejob & "','" & Me.cboWorkedonactivity & "','" & Me.txtStartTime & "','" & Me.txtEndTime & "','" & Me.txtWorkTime & "')"

When i googled i found that it maybe due to read/write permissions but while creating both front end and back end I made it to full control... i wonder where did I go wrong

Anyhelp on this issue is really appreciated...
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
dont use CurrentDb.Execute.

just run an append query and run it via
docmd.openquery "qaApdQry"
 
Upvote 0
creating both front end and back end I made it to full control
You made what full control? Settings in a .mdw file (outdated now)? A network folder? If a folder, does everyone who uses the db have full control on the network folder?
I'm guessing you put the back end in a different folder that isn't set up correctly:
- if you made no other changes when you split the db
- because you say it was working before
- you have no joins or WHERE clause
- your values seem to be coming from a form (an append query based on a non-updateable query such as a totals query will produce this problem).
 
Upvote 0

Forum statistics

Threads
1,221,814
Messages
6,162,132
Members
451,743
Latest member
matt3388

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top