This flowchart shows the following tasks:

First task - Attempt to fetch a record

Second task/first decision point - Record retrieved? If yes, COpy data into the BV data structures, Is the form in copy mode?

First decision point - Record retrieved? If No, Switch to Add mode, Display the internal form control values, Begin dialog Clear.

Second decision point - Is the form in copy mode? If No, Fire Post Dialog is Initialized.

Second decision point - Is the form in copy mode? If Yes,Switch to Add mode, Display the internal form control values, Begin dialog Clear.