General information
Category:
Reports & Report designer
>I have a report field that suppresses duplicate values in my report. I would also like to suppress other fields when the first one is suppressed, but I don't see how to check to see if a field is suppressed. Is there a simple method to have field2 print only when field1 does?
>
>Thanks in advance!
What if you stored the values you've put in the Print When into variables, then referencing those variables in the Print When?
For example, let's say you've got three columns -- A, B and C and you want C printed conditionally depending on if A and B are printed. You assign lbPrintA to the value if column A should be printed, lbPrintB to be when B should be printed. In the Print When for column C you could put something like "m.lbPrintA AND m.lbPrintB" (if you want C to print only when both A and B are printed), "m.lbPrintA OR m.lbPrintB" (if you want C to print if either A or B are printed), or "m.lbPrintA # m.lbPrintB" (C should print only when either A or B is printed, but not when both A and B are printed).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only