Solved

Export Access Tables as Excel

Posted on 2014-03-10
4
338 Views
Last Modified: 2014-03-12
When I export an Access Table as an Excel Spreadsheet, if the data has "checkbox" type data, it outputs the words "TRUE" and "FALSE" as the data.

Is there a way I can make it do 0 & 1 instead?

Thanks
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Expert Comment

by:Michael Dyer
ID: 39919065
If you are running an export query, you may be able to add some code to replace true with 1 and false with 0.  Otherwise, you can highlight that column in Excel and do a simple search and replace to convert True to 1 and False to 0.
0
 
LVL 50

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 39919946
Yes, don't export the table but a query:

Select Field1, Field2, Abs(CheckFieldA) As NumField1, Abs(CheckFieldB) As NumField2
Form tblYourTable

Of course, replace field and table names with those of yours.

/gustav
0
 

Author Closing Comment

by:Richard Korts
ID: 39920464
Ah, yes.

Thanks
0
 
LVL 50

Expert Comment

by:Gustav Brock
ID: 39923148
You are welcome!

/gustav
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question