Friday, October 1, 2010

Error in pack/unpack method while using LocalMacro.CurrentList and CurrentVersion

Hi,

I faced the problem while using dialog field in my class. I have declared a dialogfield variable for EDT but while assigning the value from the dialog it is not able to keep the assigned value throughout the class where it is being used.

I found some blogs that, by the use of Local Macro (CurrentVersion and CurrentList) you can resolve this issue. But the concept of CurrentVersion is much complicated with it.

Key Point: You have to manually increase the value of CurrentVersion declared as and when you add the dialogfield into the CurrentList macro.
By using above i can able to use the dialog field throughout the class.

Hope this helps to someone.

Regards,
/Ashlesh

1 comment: