Reply
 
Thread Tools Display Modes
  #1   Report Post  
J Guerry
 
Posts: n/a
Default Mail merge from Access - Yes/No field converts to True/False

I understand that Word2003 does not retain formatting from the source
recordset when retrieving data from Access. I am retrieving data from a
field that is formatted as Yes/No in Access, however it displays as
True/False in the Word document. I can not find a formatting function in
word that will allow me to force this to format as Yes/No. Any advice would
be appreciated.

Thanks,

Joe Guerry


  #2   Report Post  
Peter Jamieson
 
Posts: n/a
Default

You can either use a Query in Access with a function to return "Yes" or "No"
or use a nested IF field in Word, e.g.

{ IF { MERGEFIELD myyesnofield } = "True" "Yes" "No" }

where both sets of {} are inserted using ctrl-F9

Peter Jamieson
"J Guerry" wrote in message
...
I understand that Word2003 does not retain formatting from the source
recordset when retrieving data from Access. I am retrieving data from a
field that is formatted as Yes/No in Access, however it displays as
True/False in the Word document. I can not find a formatting function in
word that will allow me to force this to format as Yes/No. Any advice
would
be appreciated.

Thanks,

Joe Guerry




  #3   Report Post  
J Guerry
 
Posts: n/a
Default

Thanks for the quick answer. Both approaches work well.

Joe Guerry

"Peter Jamieson" wrote in message
...
You can either use a Query in Access with a function to return "Yes" or

"No"
or use a nested IF field in Word, e.g.

{ IF { MERGEFIELD myyesnofield } = "True" "Yes" "No" }

where both sets of {} are inserted using ctrl-F9

Peter Jamieson
"J Guerry" wrote in message
...
I understand that Word2003 does not retain formatting from the source
recordset when retrieving data from Access. I am retrieving data from a
field that is formatted as Yes/No in Access, however it displays as
True/False in the Word document. I can not find a formatting function in
word that will allow me to force this to format as Yes/No. Any advice
would
be appreciated.

Thanks,

Joe Guerry






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail merge - Access 2000 and Word 2000 DawnMKA Mailmerge 1 March 26th 05 11:20 AM
Web-Site-based Word Mail Merge & Access DB Alex Maghen Mailmerge 3 January 17th 05 09:52 PM
mail merge and access query DaveAS Mailmerge 6 January 6th 05 06:33 PM
Word mail merge with Access Linda Mailmerge 1 December 7th 04 11:46 PM
Word mail merge doesn't pick up the addresses in Access database. Julie Tables 1 November 24th 04 01:26 AM


All times are GMT +1. The time now is 10:54 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"