Consultor Eletrônico



Kbase P87037: ADM2: What is the best place to initialize fields values ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

ADM2: What is the best place to initialize fields values ?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

FIX:

The best places to initialize field values when the Update source is an SDB or an SDV are the following override procedures inside the Update source (the SDB or SDV):

- DisplayObject : Can be used to display initial values for non-database-related fields.
- AddRecord: Display initial values for database-related fields when performing an "Add" operation.
- CopyRecord: Display initial values for database-related fields when performing an "Copy" operation.