IF statement

S

Sawlmgsj

I want to include an IF statement when the data source is only added at run
time.

I am merging a document which does not have a data source already. My
(Delphi) program adds the data source at run time to my document and then
runs the merge. This works fine for standard merge fields such as:

«FirstName» «LastName»

I need the syntax for something like:

IF «FirstName» <> blank

If my document already has the data source attached and I 'Merge to New
Document" it works fine.

Thanks,
Steve.
 
S

Sawlmgsj

Update:

Funny how a fresh look gives the answer - must try fitting head on correctly
next time.

I added my data source to a test document, got the syntax correct. Copied
the code back to my original document and all worked correctly, when running
dynamically.

Steve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top