dynamically change stylename in smartform

Lately we had a requirement to use different smart styles for different plants in our outputs. However smartform has a one-to-one relation with smartstyle. It means you can only provide one style for a particular smartform name. Below code can handle such case and give you the opportunity to use multiple styles inside the same smartform. I found it very useful as it eases our task quite much.

You may also like