Previous Topic: Comparison of the Single and Multi-Procedure ApproachesNext Topic: Handle Termination Conditions


Comparison of Approaches

Single-Procedure Approach

Multi-Procedure Approach

Multiple secondary dialog boxes

One detail version with disable flags

LIST and MAINTAIN in one procedure

LIST and MAINTAIN in at least two procedures

Menu items disabled according to function

Push buttons disabled according to function

Selected object used as a listbox on the appropriate dialog boxes

Select list occurrence moved to the output field and view-matched to the input field of the called procedure

These are situations where several procedures may be preferred to a single procedure: