Example:In AL, you can use a trigger that is invoked whenever the value of Record1Boolean changes. Then within the trigger, you can update the Editable property of Record2Date based on the value of Record1Boolean.
tableextension 50100 MyTableExt extends Record2Table { trigger OnModify() var Record1Boolean@field: Boolean; Record2Date@field: Date; begin if Record1Boolean then Record2Date.Editable := true; else Record2Date.Editable := false; Modify(); end; }
Answers
Note: Make sure you replace "Record1Boolean" and "Record2Date" with the correct field names.
When you implement this logic, whenever the value of Record1Boolean is changed, the Editable property of Record2Date will automatically update accordingly.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!