GetSharedVarID

PowerBuilder Native Interface

IPB_Session interface:

GetSharedVarID method

Description

Syntax

GettSharedVarID(pbgroup group, LPCTSTR fieldname)

Return Values

Examples

curGroup = session -> GetCurrGroup();
fid = session -> GetSharedVarID(curGroup,"i_svar");
if (fid == 0xffff)
{
   MessageBox(NULL, "Illegal fid!", "default", MB_OK);
   return;
}
i_val = session -> GetIntSharedVar(curGroup, fid,
   isNull);

See Also