Skip to main content

Good day Team,

 

I have a customatization that allows me to set the Bill Description from the new APPrintCheckDetailWithAdjdDoc.DocDesc, and is working as expetec, the issue, is that when there is no data the results is a zero, i have tried to use the iif statment when the Variable $DocDesc00 with valueExpr =IIF($LineNbr = 0, 0APPrintCheckDetailWithAdjdDoc.DocDesc], $DocDesc00), will provide the correct value, but when the line is empty, the value is 0, if I do a IIF statement the report errors out, i have use this statement on the VisibleExpr field, but not working.

 

Any ideas how to solved this?

You will need to add the corresponding $DocDesc## variables in the collection to the top-level GroupStub as well. The “ValueExpr” in that group should be =’’.

 

You can view the current variables in that top-level group to see how it’s handled for the current variables on the report. Basically you need to set them in both the GroupStub and GroupAdjustment groups on the report, setting the actual value of the variable in the GroupAdjustment section.

 

There is likely other ways to handle this, but I’ve found it’s best to use the same structure as the existing variables on the report.


Reply