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