Consultor Eletrônico



Kbase P66332: How to retrieve the SCREEN-VALUE of an object?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/02/2004
Status: Unverified

GOAL:

How to retrieve the SCREEN-VALUE of an object?

FACT(s) (Environment):

Dynamics 2.1A

FIX:

formattedWidgetValue

Returns the SCREEN-VALUE of the object, or in the case of a browse column when in a ROW-DISPLAY trigger, the STRING-VALUE from the RowObject buffer field.
The DataValue is returned for a SmartDataField (this would always be the key field for a lookup even where the display field is different). For example, you could use this function to get the formatted value of a single field to use for comparisons.

IF formattedWidgetValue("orderviewv.ordernum":U) > cNumber THEN ·