A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Export error



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2007, 06:54 PM posted to microsoft.public.excel.links
sunflowergarden[_4_]
external usenet poster
 
Posts: 1
Default Export error


In my access database, I have a "states" table with 3 columns, ID number
(sequential, used as primary key), name of the state, and the states'
abbreviation. I am using "import external data" in excel to pull data
weekly via a query. One of the variables in access is called "index
state". It is a combo box and shows a pick-list (drop down) of states'
abbreviations using the following:

SELECT States.ID, States.Abbreviation FROM States (defined in access
table);

When I run the query in access, if the record has AL in the "index
state" field, it will show up as AL when the query is executed. The
problem is when data are exported to excel via the query. Instead of
showing AL, it will show "1" (show the ID number, rather than the
state's abbreviation in excel); if the field has AK, the excel
spreadsheet will show "2", etc...

I appreciate any help in fixing this!

Thank you!!




--
sunflowergarden
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.