H
harg7769
Is it possible to compare two fields in a data source, and based on
that comparison, enter a specific block of text. I realise that it has
to do with the IF THEN ELSE merge field but I can't seem to get it to
work correctly.
The two fields in the data source are InstDate and Current_Date. If
InstDate >= Current_Date then I want to say ... but if InstDate <
CurrentDate, then I want to say something else.
I went into the Insert Word Field and selected If Then Else. I then
chose the InstDate in the Field Name Box, changed the comparison box
to >= then in Compare To, I have tried typing Current_Date,
{MERGEFIELD Current_Date},
{MERGEFIELD "Current_Date"} but I haven't been able to get it right.
Can I type the code directly instead of using the drop down boxes?
Andrew H
that comparison, enter a specific block of text. I realise that it has
to do with the IF THEN ELSE merge field but I can't seem to get it to
work correctly.
The two fields in the data source are InstDate and Current_Date. If
InstDate >= Current_Date then I want to say ... but if InstDate <
CurrentDate, then I want to say something else.
I went into the Insert Word Field and selected If Then Else. I then
chose the InstDate in the Field Name Box, changed the comparison box
to >= then in Compare To, I have tried typing Current_Date,
{MERGEFIELD Current_Date},
{MERGEFIELD "Current_Date"} but I haven't been able to get it right.
Can I type the code directly instead of using the drop down boxes?
Andrew H