No, you have to edit each individual field.
Microsoft Access - How to change Data Type for multiple fields or columns
Dear friend,
I'm using Office 2019 ProPlus, there is Access 2016 along with it. When I'm trying to edit the table to change Data Type, I have to manually right click to design view then change the type one by one, is there any shortcut to do that if I wanted to change type for some certain columns?
I selected some but the property field was grayed out. any ideas?
Microsoft 365 and Office | Access | For home | Windows
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
4 answers
Sort by: Most helpful
-
-
Anonymous
2021-06-25T00:52:41+00:00 Hi Hans,
Thanks for replying.
Further question is that, whenever I imported from excel, it comes with default short test type that I can't export as .dbf, so I have to manually change them to long text before exporting. Is there any way to make it default as long text, or how to identify which field or column that needs to be changed to long text before exporting? I can't imagine we have to do it manually if there were over 100+ columns.
Many thanks.
-
ScottGem 68,775 Reputation points Volunteer Moderator
2021-06-25T02:19:08+00:00 When importing data from an external source, it usually better to link to the data THEN append the data to an existing table that has the data types set properly for your needs.
-
Anonymous
2021-06-25T02:34:24+00:00 You might consider creating a new table with the proper data types using SQL: CREATE TABLE and INSERT statements are what to study, and then import the data into the properly typed table.