Consultor Eletrônico



Kbase P35034: How to store a HANDLE or WIDGET-HANDLE in a database
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/31/2008
Status: Unverified

GOAL:

How to store a HANDLE or WIDGET-HANDLE in a database

FIX:

Store the HANDLE as CHARACTER by using the STRING function. Convert it to a back HANDLE with the WIDGET-HANDLE() function.

Keep in mind that the scope of a handle or widget-handle is the running 4GL session. Storing a handle in a database does not make sense; it should better be stored in a TEMP-TABLE.

Note that the distinction is made between HANDLE and WIDGET-HANDLE just to make the code more readable (widget GUI objects versus non-visible objects) but both can be used interchangeably. They are effectively the same data type.