Microsoft Access - How to change Data Type for multiple fields or columns

Anonymous
2021-06-24T09:36:19+00:00

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.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2021-06-24T10:11:45+00:00

    No, you have to edit each individual field.

    1 person found this answer helpful.
    0 comments No comments
  2. 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.

    0 comments No comments
  3. 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.

    0 comments No comments
  4. 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.

    1 person found this answer helpful.
    0 comments No comments