shekhar_vc
8th December 2010, 18:24
Hello folks,

I am writing a DLL which needs to be called by every session that is launched by a user.

It is not feasible to write a piece of code in each and every Session to call this dll hence I was wondering if there is any way to achieve this apart from Baan Standard Program (stp).

This DLL will enable/disable form fields in the calling Session or even make the fields invisible.

Your expert advice is much appreciated.

Best regards,
Shekhar

marnix
9th December 2010, 13:48
I've checked, but it looks like there is no such mechanism. You will have to modify each session script.

shekhar_vc
29th December 2010, 23:02
Thanks Marnix.

Yes, me too did not find any better way. So I developed a DLL which I just call in before.display.object of the required session. That's all... enabling/disabling or hiding of form fields is now taken care by the DLL based on the authorization set up.

Best Regards,
Shekhar