Consultor Eletrônico



Kbase P17029: How to access properties in Dynamics Repository
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

How to access properties in Dynamics Repository

FACT(s) (Environment):

Dynamics 2.0a

FIX:

ASSIGN ghProp = WIDGET-HANDLE(ENTRY(1, iphTargetProc:ADM-DATA, CHR(1)))
ghProp = ghProp:BUFFER-FIELD('ApplyGlobalFilters':U).

IF VALID-HANDLE(ghProp) THEN
lApplyFilters = ghProp:BUFFER-VALUE.
ELSE
lApplyFilters = FALSE.

The first endtry of the adm-data in the handle to the adm-props temp-table.
You can then get and set the value using the buffer-field/buffer-value
mechanism.