Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you for the suggestion. Yes, I would be manually setting A and B.

I gave the macro a shot but was put off by the minimal documentation for working with fields in the Macro Programmers Guide. Alas, searching did not turn up any list of function calls or examples. So I went with a simpler, if a bit clunkier solution.

I ultimately solved it by inserting sections which I showed or hid based on variable B, then put conditional text into these sections based on variable A. Not quite the same as using them to set a third variable, but at least it worked.

Interestingly, using hidden sections to set the third variable does not work as a strategy, as hiding the section does not prevent the hidden section from setting the third variable.