Yes/No export appearance

H

HopyMSU

Access 2007 question and probably a simple one at that.

I work with a database that I export to excel on a daily basis. We use
a number of "Yes/No" check boxes on our main table. When I export this
table, these checkbox fields appear as "True" or "False." Is there a
way to change this so when it exports it shows as "Yes" or "No" ?

FYI: In the fields' properties, under general, it says "Yes/No"
instead of "True/False" or "Off/On."

Thanks,
A
 
K

Ken Snell \(MVP\)

Use a calculated field in place of the real field in the query that you
export, and use the Format function in the expression for that calculated
field:

SELECT Field1, Field2, Field3,
Format([FieldName], "Yes/No") AS NewFieldName,
Field5, Field6
FROM TableName;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top