If then statements
I have a document where I am merging name and address information for
customers and want to include text at the first line and then for the next
record, a insert text based on whiich text was inserted at the first line.
Like so:
These customers requested information on your product via your advertisement.
John SMith
123 Main St
ANytown USA
These customers requested information on your product line:
Category: Tube Socks
Sally Smith
124 Main St
Anytown USA
Here is what I have so far.
{IF {MERGEFIELD CATEGORY}= "" " These readers have requested information via
your advertisement. {MERGEFIELD "TEXT"}{MERGEFIELD "NAME"}" "These customers
requested information on your product line: {MERGEFIELD "CATEGORY"}
This is in front of the first record. Not sure how to change it for the
next record and so on.
Thanks for all info!
|