+ Reply to Thread
Results 1 to 3 of 3

Modifying linked tables in Access

  1. #1
    Registered User
    Join Date
    06-20-2007
    Location
    London, UK
    Posts
    10

    Modifying linked tables in Access

    Hi,

    I have a linked (excel) table which I need to modify the data type of one of its fields. Can this be done? If so, how do I do it? Trying to change it in design mode says it can't be done.

    I am using Access 2003.

    Many thanks and Happy New year!

  2. #2
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Smile Re: Modifying linked tables in Access

    Hi Talat,

    My understanding is when you link excel tables in Access you cannot modify the table structure. You will need to format your columns in excel to the format you wish and use the Link Manager to refresh the link.

    This is my understanding....others please chime in if I missed something!!

    Thanks, I hope this helps.

    James

  3. #3
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Dorset, UK
    MS-Off Ver
    Office 2003, Office 2007
    Posts
    131

    Re: Modifying linked tables in Access

    This is correct, you can't modify the data type in a linked table.

    If you're having diffculties making Access pick the right data type, here are some suggestions.

    First, delete the link from Access. Then in Excel make sure the first row (if you have headers then the first row below the headers) contains the right sort of data in each column and save. In Access now link to the Excel file. Hopefully now it's picked the right data types. Don't forget to put your Excel file back as it should be.

    If this hasn't worked, try setting up a new Excel file with just one row (+ your headings if you have any) with data in each column. Link this into Access and see if it's got the data types right. If it has, go to Linked Table Manager and relink the table to the Excel file with your data in it.

    Alternatively, if your Excel file can be a csv file instead, you have more options. To set this up, open you Exel file, go to Save As and change the file type to *.csv. This will still open in Excel in the same way, but some formatting may be lost. Then in Access link to this csv file. When you go through the linking routine, you'll have the option to choose the data types manually.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1