-Create a calculated item of type Summary which does a sum over the formerly created item.
CASE WHEN :CONDITION_ITEM='Yes' THEN 1 ELSE 0 END
-Create a last calculated item of type formula in your block, as formula put a call to your function
FUNCTION FK_ENABLE_DISABLED (i_nDummy IN NUMBER) RETURN NUMBER IS BEGIN IF <calculated item of type summary> >2 THEN --disable item ELSE --enable itemn END IF; END;
FK_ENABLE_DISABLE(<calculated item of type summary>)
I have no idea what could be causing this issue the error im getting is: Warning: Required property ignored for subordinate mirror item .That's just a warning. And i guess its always there, but you ignored it because the forms runs anyway. There will be another error in the error-window, i guess its something about Setting the property Query all records, or the block where the summary item has to be.
Create a last calculated item of type formula in your block, as formula put a call to your functionHope i am the Lucky Guess...