template_banner.gif Main Index  PREV  NEXT

Valid HTML 4.01!   Valid CSS!

Delete Forms

Delete 1 - delete occurrence unless there are subordinates

CT_DELETE1.gif

Description

This form has no dialog with the User other than with the ASKMESS command.

This form is usually called from a LIST form with the primary key of a single occurrence as the parameter. The form will retrieve the selected occurrence and any subordinate (child) occurrences.

If any subordinate entries exist an error message will be generated and the deletion will be cancelled.

If there are no subordinate entries the User will be asked to confirm the deletion to which the response is one of the following:-

Buttons

YES Delete the selected occurrence, send a message back to the parent form, then exit.
NO Exit and return to the parent form.

Contents

Bound Objects

Source Entity Source Field Target Entity Target Field
MAIN N/A   N/A

Local Constants (Refer to Local Constants)

Name Expression Description
FORM_VERSION 01.000.000 To be incremented each time the component is changed.

Component Variables (Refer to Component Variables)

Name Description
FORM_VERSION  
PRIMARY_KEY  
EXCLUDE_LIST List of child entities to be excluded from the validation but included in the deletion. This list can be populated by code in the local proc LP_EXCLUDE_LIST.

Delete 2 - delete occurrence including subordinates

CT_DELETE2.gif

Description

This form has no dialog with the User other than with the ASKMESS command.

This form is usually called from a LIST form with the primary key of a single occurrence as the parameter. The form will retrieve the selected occurrence and any subordinate (child) occurrences.

The User will be asked to confirm the deletion to which the response is one of the following:-

Buttons

YES Delete the selected occurrence and any subordinate occurrences, send a message back to the parent form, then exit.
NO Exit and return to the parent form.

Contents

Bound Objects

Source Entity Source Field Target Entity Target Field
MAIN N/A   N/A

Local Constants (Refer to Local Constants)

Name Expression Description
FORM_VERSION 01.000.000 To be incremented each time the component is changed.

Component Variables (Refer to Component Variables)

Name Description
FORM_VERSION  
PRIMARY_KEY  

Delete 3 - validate occurrence for deletion

CT_DELETE3.gif

Description

This form has no dialog with the User.

This form is usually called from a MULTI-PURPOSE form with the primary key of a single occurrence as the parameter. The form will retrieve the selected occurrence and any subordinate (child) occurrences.

If there are no subordinate entries the form will return to the parent with a zero status.

If any subordinate entries exist an error message will be generated and the form will return to the parent with a non-zero status.

The values returned in $status are:-

Buttons

N/A

Contents

Bound Objects

Source Entity Source Field Target Entity Target Field
MAIN N/A   N/A

Local Constants (Refer to Local Constants)

Name Expression Description
FORM_VERSION 01.000.000 To be incremented each time the component is changed.

Component Variables (Refer to Component Variables)

Name Description
FORM_VERSION  
PRIMARY_KEY  

copyright.gif http://www.tonymarston.net