R
rtrsr
I'm trying to write an IF statement that will insert a document at the end of the currently active document when an IF test returns a TRUE.
In rudimentary programming terms, this is all I'm trying to do -- using a variable called "Waiver" and a document named c:\My Documents\Waiver.doc.
IF Waiver="Y" Append c:\My Documents\Waiver.doc ELSE DoNothing
There doesn't seem to be a field code that accomplishes (or even approximates) this. I've successfully written a MACROBUTTON routine that will append c:\My Documents\Waiver.doc when the operator clicks on it -- but I'd really like this to get launched simply in response to a TRUE result in an IF statement.
This has GOT to be super-simple. So what am I missing here?
Rick
In rudimentary programming terms, this is all I'm trying to do -- using a variable called "Waiver" and a document named c:\My Documents\Waiver.doc.
IF Waiver="Y" Append c:\My Documents\Waiver.doc ELSE DoNothing
There doesn't seem to be a field code that accomplishes (or even approximates) this. I've successfully written a MACROBUTTON routine that will append c:\My Documents\Waiver.doc when the operator clicks on it -- but I'd really like this to get launched simply in response to a TRUE result in an IF statement.
This has GOT to be super-simple. So what am I missing here?
Rick