#1   Report Post  
Junior Member
 
Posts: 5
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!!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export SAP to Excel 97 Ok, Excel 2003 Error Pedro Mestre Excel Discussion (Misc queries) 0 January 29th 07 12:42 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
File Error - Data May Be Lost message after Access export Northpaw22 Excel Discussion (Misc queries) 0 December 6th 05 10:06 PM
excel chart export error runtime 1004 Mau Charts and Charting in Excel 3 August 17th 05 11:35 AM


All times are GMT +1. The time now is 03:46 PM.

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

About Us

"It's about Microsoft Excel"