SetSharedVarToNull

PowerBuilder Native Interface

IPB_Session interface:

SetSharedVarToNull method

Description

Syntax

SetSharedVarToNull(pbgroup group, pbfield fid)

Return Values

Examples

curGroup = session -> GetCurrGroup();
cls = session -> GetClass(myobj);

fid = session -> GetSharedVarID(curGroup, "i_svar");
if (session -> IsSharedVarNull(curGroup, fid))
   session -> SetIntSharedVar(curGroup, fid, 1);
else
   session -> SetSharedVarToNull(curGroup, fid);

See Also