Update columns in a linked table

creyn

Board Regular
Joined
Sep 16, 2016
Messages
127
I am trying to update columns in a linked table in Access. Below is the line of code I am using to try to do this, but I keep getting this error: Run-time error '3616': Updating data in a linked table is not supported by this ISAM

DoCmd.RunSQL "UPDATE Import_Data SET FileName = '" & MyFile & "', [Date] = '" & Date & "' WHERE FileName IS NULL And Date is NULL"
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Is the linked table a text file (like csv)? If so, you can't update it via a query. You'll have to come up with a work-around, like dumping it into a temp table, then writing back to the csv table after updating the temp.
 
Upvote 0

Forum statistics

Threads
1,221,787
Messages
6,161,960
Members
451,734
Latest member
Anmol Pandey19

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