hi i have a form.in that i have two fields that is PASSPORT(ENUM TYPE),and PASSPORTNUM(STRING TYPE).
PASSPORT is enum type i kept as a checkbox.i want enter some data in that so if i make passport column as yes tha means checkbox is checked then passport number must be enter with out enter it cont save.if i make checkbox no need of pasport number it should save for that i write a code in modified method in forms.but its not working any one please check that...
public void modified()
{
ITTI_EmpDetails a; //Table name
super();
select a where a.RecId==ITTI_EmpDetailsDS.RecId;
if(a.PassPort == NoYes::Yes)
ITTI_EmpDetailsDS_PassportNum.mandatory(true);
}
thank you.....
*This post is locked for comments
I have the same question (0)