I have the following situation:
One table is datasourse of the form. The same table has one 'NoYesCombobox' field which is showing on the form's grid. Also on the form, there is one Action menu item button.
When multiple records on the form are selected, if one of the value of the selected records of the 'NoYesCombobox' is NO the Action menu item button should be disabled and an error message should appear.
Otherwise if all of them are Yes, it should be enabled and do another logic.
So, I tried to solve this with overriding the active method of the form datasource and put the condition:
if (condition)
{
actionMenuItemButton.enabed(false);
}
But, with this if one of the value of the 'NoYesCombobox' No, and others are Yes, it still enables the button.
Is there any other solution for this?
Thanks in advance.
*This post is locked for comments