%HBJToUID function


Function
The function returns UID (64 character string) to an object which is defined by a unique identifier (HOBJ) in D2000 System.
Declaration
TEXT %HBJToUID(
  HBJ in objID
 )

Parameters
objID A value of HBJ or INT type.

Description
The function sends a demand to D2000 Server and finds out UID of object according to an object unique identifier which has been set by the parameter objID. If the object exists or the parameter is an invalid value, the function returns the invalid value.
Example
 TEXT _uid
 
 _uid := %HBJToUID(205)          ; _uid will contain a value "ABE00..." providing that, the object with HBJ=205 exists 
 _uid := %HBJToUID(SD.DATA\HBJ)  ; _uid will also contain a value "ABE00..." providing that, the object SD.DATA exists and its HBJ=205
 
 ; If these objects do not exist in an application, _uid will be a invalid value.

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .