IPB_Session interface:
IsFieldArray method
Description
Returns true if the field of the specified
object is an array; otherwise it returns false.
Syntax
|
1 |
IsFieldArray(pbclass <span>cls</span>, pbfield <span>fid</span>) |
|
Argument |
Description |
|---|---|
|
cls |
A valid class handle for the class whose |
|
fid |
The field ID of the specified object |
Return Values
pbboolean.
Examples
This code tests whether the field identified by fid is
an array, and if so, gets the array value:
|
1 |
fid = session->GetFieldID(cls, "arr_val");<br>if (session-><span>IsFieldArray</span>(cls, fid))<br>{<br>   arr_val=session->GetArrayField(myobj, fid, isNull);... |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest