Solved

Replace True/False with Yes/No in Word Merge from Access Database

Posted on 2008-06-17
7
649 Views
Last Modified: 2012-05-05
The problem exporting Yes/No fields from Access is that they appear in a Word Merge as True/False.  I know it's possible to use an IIF statement in the Word document merge field to change it to Yes/No.  

But when I tried this
{IF {MERGEFIELD "ReviewActioned"} = "True"  "Yes" "No" }

When I merge it writes
ReviewActioned

What have I done wrong?
0
Comment
Question by:Ludique
[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
7 Comments
 
LVL 44

Accepted Solution

by:
GRayL earned 500 total points
ID: 21805975
use:

Format(ReviewActioned,"Yes/No")

assuming ReviewActioned contains the values -1 or 0 (True or False)
0
 
LVL 44

Expert Comment

by:GRayL
ID: 21805988
In reality, you should export a query to Word rather than the table, in which the field ReviewActioned is replaced by the Format() function above.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 21806098
It's hard to guess what is wrong. I thought you had this working a while ago. I trust that you gave entered the {} pairs with Ctrl+F9 or as a part of entering the field.
0
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!

 
LVL 76

Expert Comment

by:GrahamSkan
ID: 21806117
Should be: "...I trust that you have..."
0
 

Author Closing Comment

by:Ludique
ID: 31468083
Thank you.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 21806241
What do you mean by 'export'?

I concur with the other experts that you should use a query to format the table data to better suit your needs.
0
 
LVL 44

Expert Comment

by:GRayL
ID: 21806394
Thanks, glad to help
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

734 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