I have a button, activate or deactivate this occupy depending on the result of a function in the database, returns true if the function is active, otherwise not, someone has any idea how it's done thanks Using apex 4.2 and Oracle 11g
Make use of dynamic actions Enable and Disable Property.
-- Sunil Bhatia
Create Dynamic Action on Page -> Event "Page Load" -> Action "Enable" -> Button "Your Button" -> Create
Edit this dynamic action and make it conditional on your SQL query EXISTS clause.