Function SetObjMemo

 

Function SetObjMemo( ByVal deviceHnd&, ByRef sObjMemo$ ) as Long

 

Purpose: Set memo field of the object.

Works in:      OneLiner and Power Flow.

Parameters:     

deviceHnd    [in] data object handle

sObjMemo       [in] object memo string

Return value:

1               success

0               failure

Remarks:      

Example:

 

If SetObjMemo( nSCapHnd, “ABCD” ) = 0 Then GoTo HasError      'Set object memo to “ABCD”