i have two form ,Main form and sub form which is linked as run object .
i want to disable the whole subform based on the values of control on the main form .
how should i disable my sub form ?
*This post is locked for comments
yes
Yes Sir ,
it worked but my question is why i have used clear funtion on the form .
Have you checked the Dimensions Menu button on the Sales Order?
where should i write this code ?
Hi
You have declare a form Variable, then set the rec on the form & editable property to false and run the form like below
Clear(formvarbl)
formvarble.settableview(rec);
formvarble.editable := FALSE;
formvarble.runmodal;
Refer the dimensions on the sales order to use how to run the form using variable
Best Regards
Rajasekhar.Y
RecMontlyRentPaid.SETFILTER("Vendor No","No.");
IF"Rent Balance" > 0 THEN
FORM.RUNMODAL(0,RecMontlyRentPaid);
i am writing this trigger in a menu item trigger but its not working
Hi
Have you tried to write any code to run the form using Run or Run modal on the menu item trigger ?
Regards
Rajasekhar.Y
Mahesh Sir
i have created a funtion and called this function in each of these trigger
but unfortunatly it didnt worked
Yes.
Mahesh Sir
Do you mean to say i have to write the above in each of these form trigger .
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156