Skip to content

Refresh - dbAppClient_

Event used to synchronize the object's data with the DDO

Type: Procedure

Parameters

Parameter Type Description
eMode Integer The mode type of DDO operation which generated this refresh message. It may be one of the following:ConstantMeaning

Syntax

Procedure Refresh Integer eMode

Call Example

Send Refresh eMode

Description

By default this message does nothing, but it is a good candidate for augmentation. For example, If you added a custom Refresh message to the Order entry view (in program Order.src in the Order sample workspace), every DD operation that occurs within this view will the send Refresh message to this object. A developer could use this to control the enabling and disabling objects without having to touch the Refresh methods of individual data entry objects (DEOs). For example,

Procedure Refresh Integer eMode
    Boolean bRec

    Get HasRecord of OrderHea_DD to bRec
    Set Enabled_State of oPrintBtn to bRec
End_Procedure