::: Determining form Edit Mode

Within a form application, what macro can be used to detect the edit mode (‘Add’,‘Edit’ or ‘Delete’)?

Buttons
sc_btn_copy
This macro returns “true” when the “copy” button is selected in a form.
sc_btn_delete
This macro returns “true” when the “Delete” button is selected in a form.
sc_btn_display (“Button_Name”,“on/off”)
This macro activate toolbars buttons on the application in execution time.
sc_btn_insert
This macro returns “true” when the “Add” button is selected in a form.
sc_btn_new
This macro returns “true” when the “Add New” button is selected in a form.
sc_btn_update
This macro returns “true” when the “Save” button is selected in a form.

Thanks for the macro references.

[QUOTE=aducom;41227]Buttons
sc_btn_copy
This macro returns “true” when the “copy” button is selected in a form.
sc_btn_delete
This macro returns “true” when the “Delete” button is selected in a form.
sc_btn_display (“Button_Name”,“on/off”)
This macro activate toolbars buttons on the application in execution time.
sc_btn_insert
This macro returns “true” when the “Add” button is selected in a form.
sc_btn_new
This macro returns “true” when the “Add New” button is selected in a form.
sc_btn_update
This macro returns “true” when the “Save” button is selected in a form.[/QUOTE]