Results 1 to 2 of 2
  1. #1
    amallon is offline Novice
    Windows 8 Access 2007
    Join Date
    May 2015
    Posts
    7

    Export Query to Excel loses Text Values from Lookup Fields

    Hi,

    I have two tables Members, and Branches.



    In the members table there are 3 fields Branch1, Branch2 and Branch3 which lookup the branch name from the branches table. When I run my query in access all is good, I see the branch Names in text. When I try to export this query to Excel I see the values in the 3 branch fields are now converted to the number of the branch in the branch table. How do I export this data to excel and keep the text values?

  2. #2
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    This sounds like you might have tied the Branch1, Branch2, and Branch3 Columns in your Member Table directly to the Branches Table using a Field Lookup.

    Field Lookups should never be used because they can hide the actual information stored in your database and cause confusion when Querying data (like now).

    A better solution would be to create a Saved Query that links the two Tables together with an INNER JOIN. That way you'll be able to see the actual data stored in the Members Table as well the "human readable" result from your Saved Query.

    More about the evils of Field Lookups here: http://access.mvps.org/access/lookupfields.htm

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

Similar Threads

  1. Replies: 1
    Last Post: 02-23-2015, 01:08 AM
  2. export subforms values to excel
    By darwish in forum Access
    Replies: 2
    Last Post: 04-29-2014, 01:35 AM
  3. How to Export Rich Text Data into Excel
    By EddieN1 in forum Import/Export Data
    Replies: 2
    Last Post: 11-21-2013, 01:45 PM
  4. Crosstab Query Values Export as Text
    By Paul H in forum Queries
    Replies: 0
    Last Post: 01-07-2013, 11:18 AM
  5. Replies: 3
    Last Post: 10-07-2011, 07:49 AM

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