report

Hi All,

I have one query regarding AX report.

I want make report control field invisible at run time. if the field don’t have value then it should not visible in report .

How to do it. Please help.

Thanks

Nitish Kr

Hi,

In your fetch method, u can do this… assign that value to a variable…then put a condition like if !(variable) { formfield.visible(false); } else { formfield.visible(true);}

Meanwhile, make the formfield - AutoDeclaration in the property to YES …\

thats it…

Thanks and Regards,

Kevin

Hi,

If your report doesn’t have a fetch method, you can add an executeSection() method in your report section and test your field’s value, like this: if … yourField.visible(false)

Hope it helps

Regards,

Thomas

hi,

If that field is numeric then you can set property “ShowZero” to No.

Thanks & Regards,

Mehul Thacker