05 ERFlow
05 ERFlow
ER Flow
Flow of
of aa Find/Browse
Find/Browse Form
Form
Form
Form Type
Type Event
Event Flow
Flow
own logic
Runtime
Runtime Structures
Structures
variables
Runtime
Runtime Structures
Structures
PO FI GC FC BC
F5501
Pre
Pre Dialog
Dialog is
is Initialized
Initialized
GC=0
Other processing
Initialize error handling
Initialize static text
Initialize helps
Create toolbar
Dialog
Dialog is
is Initialized
Initialized
0 0 0 0 0
0 0 0
0 0
0 0
0
F5501
0
0
0
0
0
0
Post
Post Dialog
Dialog Is
Is Initialized
Initialized
PO FI GC FC BC
0 0 0 0 0
0 0 0
0 0
0 0
0
F5501
0
0
0
0
0
0
Post
Post Dialog
Dialog Is
Is Initialized
Initialized
0 0 0 0 0
0 0 0
0 0
0 0
0
F5501
0
0
0
0
0
0
SQL
SQL SELECT
SELECT Built
Built
0 0 0 0 0
0 0 0
0 0
0 0
0
F5501
0
0
0
0
0
0
DO
DO in
in WHILE
WHILE Loop
Loop
0 0 0 0 46
0 0 E
0 Fred
0 1 Elm
#5
F5501
Denver
CO
80231
US
DEN
1000
Grid
Grid Rec
Rec is
is Fetched
Fetched
0 0 0 0 46
0 0 E
0 Fred
0 1 Elm
#5
F5501
Denver
CO
80231
US
DEN
1000
Grid
Grid Rec
Rec is
is Fetched
Fetched
0 0 46 0 46
E 0 E
Fred Fred
DEN 1 Elm
#5
F5501
Denver
CO
80231
US
DEN
1000
Write
Write Grid
Grid Line
Line -- Before
Before
0 0 46 0 46
E 0 E
Fred Fred
DEN 1 Elm
#5
F5501
Denver
CO
80231
US
DEN
1000
Write
Write Grid
Grid Line
Line -- Before
Before
0 0 46 0 46
E 0 E
Fred Fred
DEN 1 Elm
#5
F5501
Denver
CO
80231
US
DEN
1000
Write Grid Line - After
Engine 'pauses' again for the event to be
processed
You can add your own logic to run when the
Write Grid Line - After event is run
At the point when the engine 'pauses', Runtime
Structures have the following values
BC=values from database
GC=values from database
0 0 46 0 46
E 0 E
Fred Fred
DEN 1 Elm
#5
F5501
Denver
CO
80231
US
DEN
1000
Write
Write Grid
Grid Line
Line -- After
After
GC assigned BC values
PO FI GC FC BC
0 0 46 0 47
E 0 E
Fred Barney
DEN 2 Oak
#18
F5501
Denver
CO
80222
US
DEN
1200
Grid
Grid Rec
Rec is
is Fetched
Fetched
PO FI GC FC BC
0 0 46 0 47
E 0 E
Fred Barney
DEN 2 Oak
#18
F5501
Denver
CO
80222
US
DEN
1200
GC
GC Assigned
Assigned BC
BC Values
Values
PO FI GC FC BC
0 0 47 0 47
E 0 E
Barney Barney
DEN 2 Oak
#18
F5501
Denver
CO
80222
US
DEN
1200
Write
Write Grid
Grid Line
Line -- Before
Before
PO FI GC FC BC
0 0 47 0 47
E 0 E
Barney Barney
DEN 2 Oak
#18
F5501
Denver
CO
80222
US
DEN
1200
Values
Values Appear
Appear in
in Grid
Grid Row
Row
PO FI GC FC BC
0 0 47 0 47
E 0 E
Barney Barney
DEN 2Oak
#18
F5501
Denver
CO
80222
US
DEN
1200
Write
Write Grid
Grid Line
Line -- After
After
PO FI GC FC BC
0 0 47 0 47
E 0 E
Barney Barney
DEN 2Oak
#18
F5501
Denver
CO
80222
US
DEN
1200
DO
DO in
in WHILE
WHILE Loop
Loop
Page-at-a-time processing
One record at a time is fetched WHILE database
records are found and WHILE grid rows are available
Once available grid rows are filled, FETCH stops
records
DO
DO in
in WHILE
WHILE Loop
Loop
Page-at-a-time processing
Once records have been copied to screen, the grid
display is cached in memory
This memory cache has nothing to do with the Runtime
arrow button
SQL
SQL FETCH
FETCH Fails
Fails
0 0 54 0 54
E 0 E
Betty Betty
DEN 9 Ash
#40
F5501
Denver
CO
80222
US
DEN
6000
Last
Last Grid
Grid Rec
Rec Has
Has Been
Been Read
Read
0 0 47 0 54
E 0 E
Barney Betty
DEN 9 Ash
#40
F5501
Denver
CO
80222
US
DEN
6000
Button
Button Clicked
Clicked
0 0 47 0 54
E 0 E
Barney Betty
DEN 9 Ash
#40
F5501
Denver
CO
80222
US
DEN
6000
Select
Select Button
Button Clicked
Clicked Processing
Processing
of receiving form
Add
Add Button
Button Processing
Processing
0 0 47 0 54
E 0 E
Barney Betty
DEN 9 Ash
#40
F5501
Denver
CO
80222
US
DEN
6000
Add
Add Button
Button Clicked
Clicked Processing
Processing
0 0 47 0 54
E 0 E
Barney Betty
DEN 9 Ash
#40
F5501
Denver
CO
80222
US
DEN
6000
Delete
Delete Grid
Grid Rec
Rec Verify
Verify -- Before
Before
0 0 47 0 54
E 0 E
Barney
Betty
DEN 9 Ash
#40
F5501
Denver
CO
80222
US
DEN
6000
Delete
Delete Grid
Grid Rec
Rec Verify
Verify -- After
After