change data type of a linked table in access

BP1990

New Member
Joined
Aug 28, 2018
Messages
3
I get the below messages in access:
Table is a linked table whose design can't be modified. if you want to add or remove field or change their properties or data types you must do so in the source database.

I want to change the source data types, how do I do that?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Welcome to the Board!

You cannot do that in Access. You cannot change any Table properties of a linked table. It has to be done in whatever you are linking from.

What is the table linked to? SQL, Oracle, Excel?

If you cannot do that, you will probably need to make a copy of the linked table (so it is a native Access table), and work from that.
If it is an Excel table, it is very difficult to define the data type, as Excel really does not have defined data types. So Access looks at the first 10 tens of the Excel file, and tries to "guess" what the data type is. Unfortunately, you cannot override that behavior.
 
Upvote 0
HI Joe,

Thanks for the prompt replay. Because of your answer I started thinking and I manged to find a solution.

Thanks!
 
Upvote 0
Excellent! Out of curiosity, what did you end up doing?
 
Upvote 0
I tried to link a Excel powerpivot table. The first 10 top rows where empty, therefore Access was reading it as a short text instead of a number or currency. I solved it to put in the top rows 0. The data type is then changed into number or currency and I will filter out the 0 in Access.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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