Consultor Eletrônico



Kbase P148904: addRow pcColValues contains only fields in viewer (SDV)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/07/2009
Status: Unverified

SYMPTOM(s):

addRow pcColValues contains only fields in viewer (SDV)

addRow pcColValues contains only fields in browser (SDB)

Fields in SDO are missing in addRow input-output parameter

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1B03 Service Pack
OpenEdge 10.1C

CAUSE:

This is expected behavior. The addRow function is primarily used to indicate that the SDO is in add mode. This function is called from addRecord in the Visual Object (Viewer/Browser) and the only fields that object knows about are the objects that are contained in it.
The pcColValues parameter is essentially a list of suggested fields to supply values for on return to addRecord and does not include fields from the SDO that are not visible in the visual object.

FIX:

If you need fields from the SDO that are not in the list, use any number of the SDO apis to get a list of contained fields.