TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Word help... Update From:dmbrown -at- brown-inc -dot- com To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Wed, 09 Oct 2002 08:50:31 -0700
Anita Lewis wrote:
>
> My coworker...went into the merge code and manipulated it so that
> it worked. But she thinks there should be an easier way to do it...
Well, you didn't tell us what she did, so it's hard to know if there's an *easier* way.
I would've suggested an "IF" field, something like this:
Order now, and we'll send the WidgetPro directly to your home
in { MERGEFIELD City }, { MERGEFIELD State }{ IF { MERGEFIELD
Country } = "USA" "" ", { MERGEFIELD Country } }".
...giving you results like these:
...your home in Portland, Oregon.
...your home in Montreal, Quebec, .
...your home in London, England.
...your home in , New South Wales, Australia.
...your home in , , United States.
As you can see, you may have to experiment with exact placement of commas, depending on whether the fields (columns) in the merge data file could be empty.
In the examples above, the second, third, and fourth lines come from records in which the country, state, and city (respectively) are blank.
As an argument for validating the merge data, the fifth line comes from a record with no city, no state, and a different representation of "USA" from the one used in the "IF" field.
HTML Indexer 4 is still the easiest way to create and maintain indexes
for web sites, intranets, HTML Help, JavaHelp, and other HTML documents.
Now with fully integrated cross-references, target frames and windows,
multiple-file output, "one-step accept" of default entries, and more!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
All-new RoboHelp X3 is now shipping! Get single sourcing, print-quality
documentation, conditional text and much more, in the most monumental
release ever. Save $100! Order online at http://www.ehelp.com/techwr-l
Buy ComponentOne Doc-To-Help 6.0, the most powerful SINGLE SOURCE HELP
AUTHORING TOOL for MS Word. SAVE $100 on the full version and $50 on the
upgrade. Offer ends 10/31/2002 (code: DTH102250). http://www.componentone.com/d2hlist1002
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.