Set<type>Field

PowerBuilder Native Interface

IPB_Session interface:

Set<type>Field method

Description

Syntax

SetArrayField ( pbobject obj, pbfieldID fid, pbarray value ) 
SetBlobField ( pbobject obj, pbfieldID fid, pbblob value ) 
SetBoolField ( pbobject obj, pbfieldID fid, pbboolean value ) 
SetByteField ( pbobject obj, pbfieldID fid, pbbyte value ) 
SetCharField ( pbobject obj, pbfieldID fid, pbchar value ) 
SetDateField ( pbobject obj, pbfieldID fid, pbdate value ) 
SetDateTimeField ( pbobject obj, pbfieldID fid, pbdatetime value ) 
SetDecField ( pbobject obj, pbfieldID fid, pbdec value ) 
SetDoubleField ( pbobject obj, pbfieldID fid, pbdouble value ) 
SetIntField ( pbobject obj, pbfieldID fid, pbint value ) 
SetLongField ( pbobject obj, pbfieldID fid, pblong value ) 
SetLongLongField ( pbobject obj, pbfieldID fid, pblonglong value ) 
SetObjectField ( pbobject obj, pbfieldID fid, pbobject value ) 
SetPBStringField ( pbobject obj, pbfieldID fid, pbstring value ) 
SetRealField ( pbobject obj, pbfieldID fid, pbreal value ) 
SetStringField ( pbobject obj, pbfieldID fid, LPCTSTR value ) 
SetTimeField ( pbobject obj, pbfieldID fid, pbtime value ) 
SetUintField ( pbobject obj, pbfieldID fid, pbuint value ) 
SetUlongField ( pbobject obj, pbfieldID fid, pbulong value ) 

Return Values

Examples

pbstring str = session->NewString(d_message.c_str());
if (str != NULL)
   session->SetPBStringField(d_pbobj, d_fidMsg, str);

Usage

See Also