Hi all,
i have one table called tabe1.which contain enum field in the form of checkbox… when i click the one checkBox in form other checkBox should be automatically uncheck>.can any body help
Hi all,
i have one table called tabe1.which contain enum field in the form of checkbox… when i click the one checkBox in form other checkBox should be automatically uncheck>.can any body help
Is other checkbox is also a field in the table? If so you can update it in the modifiedField method
yeah thats i know… dont know to correct code to update
Which part do you need help with? Do you know how to assign values to fields? Are you aware of that there are many existing modifiedField() methods you can look at?
Lets say if you have fieldA, fieldB. As per your requirement if you want fieldB to be unchecked when fieldA is selected. Then you can do similar kind of coding in the Form-Datasource-Fields-FieldA -Modified Method.
Public void modified()
{
super();
if ( Table.FieldA ==NoYes::Yes)
{
Table.FieldB = NoYes::No;
}
}