Results 1 to 3 of 3
  1. #1
    TuffStuff is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2017
    Location
    Hartford
    Posts
    1

    Lightbulb How to change many field sizes in the design view/ field property settings in bulk


    I'm working on a mini project which involves importing data from excel (over 100 fields). Most fields are number types. I want them stored as doubles, but the preset is text and then long int. This creates a thankless chore of, after making each field, setting the data type to number and then going into the property panel and changing the type to a double. Saying this is tedious is an understatement. I'm currently working through this now, but will likely have to do something similar in the future. I'd like to be able to set a default field type and field size, or at the very least be able to develop a macro/vba which can change them to cut down on the amount of mindless clicking that must be done.

    Any help would be appreciated

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    There's no need to alter fields.
    you make a table with the correct field types.
    empty this table,
    Import the excel data to it, then
    Validate the data here then add it to the main data. (Or import straight to the main data table)

    you don't import, then alter fields.

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    you can go to File>Options>Object designers - table design view and change the default field type and size there

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Property Sheet in design view
    By SiciliandoBlue in forum Access
    Replies: 3
    Last Post: 10-28-2016, 11:59 AM
  2. Replies: 2
    Last Post: 04-16-2013, 01:34 PM
  3. Replies: 1
    Last Post: 02-16-2013, 09:05 AM
  4. Replies: 3
    Last Post: 07-20-2012, 11:41 AM
  5. Field Sizes Isues
    By djclntn in forum Queries
    Replies: 4
    Last Post: 12-07-2011, 07:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums