This content has been marked as final. Show 4 replies
Typically, this error is caused when you attempt to display an Alert that does not exist. Have you checked the Forms Navigator to see if the Alert you are trying to display is listed in the Alert Node?
i have found the set_alert_property from the alert node(ctrl+h).But still it is giving error.
SET_ALERT_PROPERTY() is a Forms Built-In. Simply calling this built-in without creating the corresponding Alert in the Alerts node of the Navigator will cause this error. When I refer to the Navigator, I'm referring to the "Tree" that displays the different objects that make up your form. With your form open, find the "Alerts" node right below "Triggers" and above "Attached Libraries". Alerts are not created by default in a form when you create a form. Therefore, you must create your own before you can display information to a user with an Alert Box. Simply click on the Alerts node and then click on the Plus ( + ) in the toolbar to the left. Once you have an Alert created you will want to define the properties of the Alert; such as the Title, Alert Style, Button Names, etc., with the Property Palette.
The fact that your call to Find_Alert() is returning 0 (zero) tells me that you either don't have an Alert called "generic_alert" or you have misspelled the Alert name.
Hope this helps.
Thanks craig,at last it worked .Thank you very much.