Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Dale Ramsey Dale Ramsey is offline
external usenet poster
 
Posts: 3
Default Help with setting up a conditional merge Excuse me for being old fashion

Hello, wondering if anyone could help me do with word 2007 what I now still
do, using a old DOS program WordStar.

What I have, is one document that is setup to read the data source, then the
fields, then at least 30 IF and ELSE commands that tell it to print a
certain letter if a field condition is met. Some of these letters may have
up to 12 more IF and ELSE commands in them depending on a different field
condition being met to print a different letter.

Thanks

Dale


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Dale Ramsey Dale Ramsey is offline
external usenet poster
 
Posts: 3
Default Help with setting up a conditional merge Excuse me for being old fashion

Sorry I forgot to attach a example. so here it is

"Dale Ramsey" wrote in message
...
Hello, wondering if anyone could help me do with word 2007 what I now
still
do, using a old DOS program WordStar.

What I have, is one document that is setup to read the data source, then
the
fields, then at least 30 IF and ELSE commands that tell it to print a
certain letter if a field condition is met. Some of these letters may
have
up to 12 more IF and ELSE commands in them depending on a different field
condition being met to print a different letter.

Thanks

Dale






  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Help with setting up a conditional merge Excuse me for being old fashion

We used WordStar extensively for merging from the early 1980s until sometime
in the 1990s. In fact, we used its merge facilities to print almost
everything we produced. But the way Word goes about things is rather
different and it can be irritating for people from a WS or WP background.
All I can suggest is that you step through some suggestions and see if any
of them works for you.

In essence, Word wants you to start with a particular document layout, and
to produce copies of that layout for each entry in your "data source".
Although you can "INCLUDE" different texts depending on the values in your
data source, these texts are included into an existing format and layout. If
all your letters (or whatever they are) have identical physical layout,
header and footer margins, and probably identicla headers and footers, you
may be able to use that approach in Word. For example, you might try putting
the following fields in your Mail Merge Main Document:

{ IF "{ MERGEFIELD F32 }" = "Individual Gifts"
"{ INCLUDETEXT "the full pathname of your thksep07.doc file with backslashes
doubled up" }" ""
}{ IF "{ MERGEFIELD F32 }" = "VBS"
"{ INCLUDETEXT "the full pathname of your thksep07.doc file with backslashes
doubled up" }" ""
}{ IF "{ MERGEFIELD F32 }" = "Birdies for Charity"
"{ INCLUDETEXT "the full pathname of your birdies06.doc file with
backslashes doubled up" }" ""
}

and so on, where all the {} are the special field code characters you can
insert using ctrl-F9. I would suggest that you output to a new document,
then select the entire output document, and press F9 to update all those
INCLUDETEXT fields, then
a. see if the output is anything like the output you need
b. print some of the pages and see if that's still what you need.

A potential alternative to this "nested IF" approach is to create files with
names that are related directly to the names in your data source. Then you
can try "inverting" the above approach using e.g.

{ INCLUDETEXT "c:\\myinclude\\{ MERGEFIELD F32 }.doc" }

so you would need a file called "Individual Gifts.doc, a file called
VBS.doc, and so on, in the folder "c:\myincludes"

Otherwise, if your ".fi" files are much more variable (different layouts,
different headings etc.) then you may need to take a different approach. But
maybe you could have a look at the above first.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Dale Ramsey" wrote in message
...
Sorry I forgot to attach a example. so here it is

"Dale Ramsey" wrote in message
...
Hello, wondering if anyone could help me do with word 2007 what I now
still
do, using a old DOS program WordStar.

What I have, is one document that is setup to read the data source, then
the
fields, then at least 30 IF and ELSE commands that tell it to print a
certain letter if a field condition is met. Some of these letters may
have
up to 12 more IF and ELSE commands in them depending on a different field
condition being met to print a different letter.

Thanks

Dale






  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Dale Ramsey Dale Ramsey is offline
external usenet poster
 
Posts: 3
Default Help with setting up a conditional merge Excuse me for being old fashion

Thanks for your reply, it looks complicated but I will try your suggestions.
I need to get away from the old way of doing things even if it means using
different merge letters for the different conditions.


"Peter Jamieson" wrote in message
...
We used WordStar extensively for merging from the early 1980s until
sometime in the 1990s. In fact, we used its merge facilities to print
almost everything we produced. But the way Word goes about things is
rather different and it can be irritating for people from a WS or WP
background. All I can suggest is that you step through some suggestions
and see if any of them works for you.

In essence, Word wants you to start with a particular document layout, and
to produce copies of that layout for each entry in your "data source".
Although you can "INCLUDE" different texts depending on the values in your
data source, these texts are included into an existing format and layout.
If all your letters (or whatever they are) have identical physical layout,
header and footer margins, and probably identicla headers and footers, you
may be able to use that approach in Word. For example, you might try
putting the following fields in your Mail Merge Main Document:

{ IF "{ MERGEFIELD F32 }" = "Individual Gifts"
"{ INCLUDETEXT "the full pathname of your thksep07.doc file with
backslashes doubled up" }" ""
}{ IF "{ MERGEFIELD F32 }" = "VBS"
"{ INCLUDETEXT "the full pathname of your thksep07.doc file with
backslashes doubled up" }" ""
}{ IF "{ MERGEFIELD F32 }" = "Birdies for Charity"
"{ INCLUDETEXT "the full pathname of your birdies06.doc file with
backslashes doubled up" }" ""
}

and so on, where all the {} are the special field code characters you can
insert using ctrl-F9. I would suggest that you output to a new document,
then select the entire output document, and press F9 to update all those
INCLUDETEXT fields, then
a. see if the output is anything like the output you need
b. print some of the pages and see if that's still what you need.

A potential alternative to this "nested IF" approach is to create files
with names that are related directly to the names in your data source.
Then you can try "inverting" the above approach using e.g.

{ INCLUDETEXT "c:\\myinclude\\{ MERGEFIELD F32 }.doc" }

so you would need a file called "Individual Gifts.doc, a file called
VBS.doc, and so on, in the folder "c:\myincludes"

Otherwise, if your ".fi" files are much more variable (different layouts,
different headings etc.) then you may need to take a different approach.
But maybe you could have a look at the above first.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Dale Ramsey" wrote in message
...
Sorry I forgot to attach a example. so here it is

"Dale Ramsey" wrote in message
...
Hello, wondering if anyone could help me do with word 2007 what I now
still
do, using a old DOS program WordStar.

What I have, is one document that is setup to read the data source, then
the
fields, then at least 30 IF and ELSE commands that tell it to print a
certain letter if a field condition is met. Some of these letters may
have
up to 12 more IF and ELSE commands in them depending on a different
field
condition being met to print a different letter.

Thanks

Dale








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
How to write press release for fashion show? Herman Mizar Microsoft Word Help 2 April 19th 22 12:36 PM
how to create a doctor excuse to return to school doctor excuse on the internet Microsoft Word Help 1 February 3rd 07 01:17 AM
using conditional merge, how do I not merge blank records... sonia2080 Mailmerge 1 June 22nd 06 01:49 PM
Adding dates in a serial fashion Russ Tables 2 November 16th 05 07:38 PM
you excuse my tongue fedora Microsoft Word Help 3 November 7th 05 04:51 AM


All times are GMT +1. The time now is 03:43 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"