Access Database Form Wont' Allow me to Update Records

squeakums

Well-known Member
Joined
May 15, 2007
Messages
823
Office Version
  1. 365
I'm ultimately trying to setup an access database form, that has current data in it from an imported excel file that can allow updates. I have the form built but when I try to type in the fields it says "This Record set is not updateable". I do keep trying to setup the primary key but it won't allow to save?

I want to be able to make changes to the data and also refresh the data in an access database. First, what is the best strategy to load this data to do that or link it?

Second, I want to be able to modify those records in the form and then upload those changes or open the excel file and hit refresh to upload those changes, is that possible in Access?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
If it is a linked table, you will not be able to update the records from Access (at least not without some complex VBA code). And you cannot add fields to a linked table from Access.
If you want to be able to update the data tables in Access, then it is best to import the data into an Access table. You can set up an Autonumber field for a primary key, to satisfy that requirement.

Is the Data Source of your Form the table directly, or a query based on the table?
If it is a query, note that there are a number of reasons that a query may not be updateable. See here: http://allenbrowne.com/ser-61.html
 
Upvote 0
Can you convert the linked table to a local table and setup the primary key and make edits in that form that way? Or, since its already loaded, how should I load the table to where it isn't linked or unlink it? Sorry, I'm not great at access.
 
Upvote 0
There are a few ways to make a Linked Table a local Table:

1. You can create a Make Table Query from your Linked Table to create the local Table
2. You can import the source of the Linked Table to created the local Table
3. You can create the shell of the local Table that you want (i.e. create a new table, with all the appropriate fields), then run an Append Query from the Linked Table to this new local Table

There first two options are probably the easiest. There are even tutorials/YouTube videos that show you how do this, that you can find with a simple Google Search.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,034
Members
448,543
Latest member
MartinLarkin

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