I am new to oracle forms. I want to disable a data block on form initiation and to enable the same on button click.
I wrote 2 triggers
1. "when_new_form_instance"
SET_BLOCK_PROPERTY('ADD_STUDENT',enable,PROPERTY_FALSE);
2."when_button_pressed"
SET_BLOCK_PROPERTY('ADD_STUDENT',enable,PROPERTY_TRUE);
Its throwing some error that "no such property for SET_BLOCK_PROPERTY"
Help would be much appreciated!
You can't disable a block. You have 2 options: