Consultor Eletrônico



Kbase P20984: How to assign a disabled smart data viewer field?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/08/2003
Status: Unverified

GOAL:

How to update/assign a disabled smart data viewer field?

FACT(s) (Environment):

Progress 9.1D

FACT(s) (Environment):

Windows

FIX:

In the following solution:

1. The 'City' field is a disabled field in a Smart Data Viewer (SDV) object.
2. The 'City' field is one of the fields in the source Smart Data Object (SDO).

To programmatically assigned the value of 'Boston' to the 'City' field is, define a submitRow function override in the SDO and insert the following code before the RUN SUPER statement:

ASSIGN
pcValueList = "City" + CHR(1) + "Boston" + CHR(1) + pcValueList.