This flowchart shows the following tasks:

First Task - User clicks the OK button

Second task/ first decision point - Erros or 1st time warnings present? If yes, Terminate OK processing

First decision point - Erros or 1st time warnings present? If No, Fire button clicked, Validate all controls on the form, Errors or 1st time warnings present?

Second decision point -Errors or 1st time warnings present? If yes, Terminate OK processing.

Second decision point -Errors or 1st time warnings present? If No, Update on form Business view enabled?

Third decision point - Update on form Business view enabled? If yes, Form in update mode?

Third decision point - Update on form Business view enabled? If No, Fire Post button clicked, Form in add mode?

Fourth decision point- Form in update mode? If yes, Fire update record to DB before, Update the record, Fire update record to DB after.

Fourth decision point- Form in update mode? If No,Fire Add record to DB vefore, Insert the record, Fire Add record to DB after

Fifth decison point -Form in add mode? If No, Perform form close.

Fifth decison point -Form in add mode? If yes, End form on add enables?

Sixth decision point- End form on add enabled? If yes, perform form close.

Sixth decision point- End form on add enabled? If No, Fire clear screen Before Add, Clear the form and Fire Clear screen After Add.