greeting everyone
i want disable column (2 as in pic) depending on value on column (1 as in pic)
where must i put my condition and i don't want effect on other rows
i mean every row column 1 value must be effect on column 2 for the same row
greeting everyone
i want disable column (2 as in pic) depending on value on column (1 as in pic)
where must i put my condition and i don't want effect on other rows
i mean every row column 1 value must be effect on column 2 for the same row
You can add the code to field1 modified
thanks mr.Sumit Loya it's working fine
You can create a new method to enable disable field 2 based on value from field 1.
Then call that method on formdatasource active and formdatasource field modified after super call.
thanks for replay
it's work as you said but that method not on time it's running after move from current line
i mean if any change happened when i'm still on current line active method not running
If what you want is to close the field to edit, you can do it with field2.allowedit(condition) in the active method.
Since the active will only work for the line you're on, it(condition) will change when it moves to the next line
André Arnaud de Cal...
292,884
Super User 2025 Season 1
Martin Dráb
231,748
Most Valuable Professional
nmaenpaa
101,156
Moderator