Hi Friends,
I am trying to control the visibility of combo box values of type enum based on the Caller Form. For Example If my Enum Values are A,B,C which are bound in Form B. When we navigate the FormB from Form A i have to show only A and B in the Combobox. Similarly when i navigate to FormB fromm Form C the Combo box values should show A,B and C values.Could you please help me in cracking it.
Thanks
Venky
*This post is locked for comments
Hi Venkat ,
You can get caller form name using code
FormRun caller;
caller = element.args().caller();
if (caller.args().name() == formstr(salestable))
{
/////
}
But its also depend how you are calling your second form;
Hi Sukrut,
Thanks a lot. I have followed the steps as per Douglas post and i am able to hide the enum elements.However i am facing challenge in finding the caller as i need to hide the enum elements based on the caller form.Could you please help in this regard.
Regards
Venky
Hi Sukrut,
Thanks a lot. I have tried implementing as per the blog but still i could not achieve it as it is not hiding the enum elements.Could you please help in this regard.
Thanks
Venky
André Arnaud de Cal...
291,971
Super User 2025 Season 1
Martin Dráb
230,846
Most Valuable Professional
nmaenpaa
101,156