SQL Single Record Window (PF7)

Programming

1. Window with single Record from a single record table.
DEFAULTS, CONSTANTS, PREFS

window single edit.png

2. Create Instance Variable with name referring to the MAIN FILE class.
Type Row, Subtype table that referes to the Main File.
class vars.png

3. Properties of each field.
Change the MAIN FILE class to the Row Var.
iDefaultsRow.FIELD_NAME
Global search and replace, but avoid replacing lines such as SET MAIN FILE, ….
field property.png

4. Class Methods:
class methods.png

5. $refresh
$firstRec() is for Single Record Tables only.
single record refresh.png

6. $edit
single record edit.png


Revised: AG 10/30/16

Back to Top
Verified by MonsterInsights