I have a page with a subform added (below Picture).. Depending on a variable in the main page (IF "QA Inspection In" THEN) I want some fields to become un-editable on the subform page. I've tried... I've set the global Variable on the Editable Properties to gblnQAIn. This Hasn't worked.
Main Page:
OnAfterGetCurrRecord()
// TIO000006
IF "QA Inspection In" THEN
frmWarehousePackLabel.QARequired(TRUE)
ELSE
frmWarehousePackLabel.QARequired(FALSE);
On the subform
QARequired(blnQARequired : Boolean)
IF blnQARequired = TRUE THEN
gblnQAIn := FALSE
ELSE
gblnQAIn := TRUE;
*This post is locked for comments
I've tried this but the fields are uneditable at all times..
first write it on OnValidate trigger of the field QA Inspection In and check and also try with update(false);
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