Actually I have a column object of checkbox edit style.The on and off values are set as Y and N.Based on this value,I have to set the protect properties of two other column objects of styles-edit and dropdowndw.I dont know exactly to which event I have to write the following code:
IF dw_selected.object.column1[row] = 'Y' THEN
dw_selected.object.city.Protect = 1
dw_selected.object.state_nm.Protect = 1
dw_selected.object.city.Protect = 0
dw_selected.object.state_nm.Protect = 0
Is my code right?.Suggest me the better options for doing this.