i have a form with a grid. when the grid is populating its data, i want to change yes/no enum field to yes. when I change this field another field became editable. Example, If FieldA == Yes then FieldB.allowedit(true).
i put the code into the datasource's active method, but it doesn't work
please advice?
this is my code :
if (SPLCalculRistourneMois.objectif==NoYes::Yes)
SPLCalculRistourneMois_ds.object(fieldNum(SPLCalculRistourneMois,TauxRistourne)).allowEdit(true);
else
SPLCalculRistourneMois_ds.object(fieldNum(SPLCalculRistourneMois,TauxRistourne)).allowEdit(false);
*This post is locked for comments