Get<type>Field

PowerBuilder Native Interface

IPB_Session interface:

Get<type>Field method

Description

Syntax

GetArrayField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetBlobField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetBoolField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetByteField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetCharField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetDateField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetDateTimeField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetDecField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetDoubleField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetIntField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetLongField( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetLongLongField( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetObjectField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetRealField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetStringField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetTimeField ( pbobject obj, pbfieldID fid, pbint value ) 
GetUintField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 
GetUlongField ( pbobject obj, pbfieldID fid, pbboolean& isNull ) 

Return Values

Examples

pbboolean   isNull;
pbstring pstr =
   session->GetStringField(proxy, fid, isNull);
if (pstr != NULL)
{
   myclass = session->GetString(pstr);
   // process myclass
   }

See Also