Re: Word help... Update

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.

--David

========================================================================

N O W A V A I L A B L E ! http://www.html-indexer.com/

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.



Follow-Ups:

References:
Re: Word help... Update: From: Anita Lewis

Previous by Author: Re: Plus and minus sign buttons?
Next by Author: Re: Word help... Update
Previous by Thread: Re: Word help... Update
Next by Thread: Re: Word help... Update


What this post helpful? Share it with friends and colleagues:


Sponsored Ads