Design of Report changing for each journal type?

Hi,

Please guide me as to how can i make the design of report such that if i call it, for instance, for payment journal, the fields are different than the fields that are displayed when i call the same report for customer receipt???

I need the solution urgently.

Thanks.

Is it for a MorphX or SSRS report? What’s your version of AX? Do you want to hide/reveal some fields or to use completely independent designs?

Its a MorphX report in Ax 2009.

You can hide some controls by changing their Visibility property at runtime. And you can choose different report design by passing its name (or instance) to report’s design() method.