Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining size of an array.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Currently I am looping through a FETCH statement and incrimenting a variable to keep count of the number of records in that array.
Is there a function avaible that determines the length, I would like many things to be dynamic depending on this length.

Cheers,

Chris
 
Hi,

If you want to determine the length of a PowerBuilder array, you may use the UpperBound() function (see: Help). However, if you want to determine the length of a cursor, your DBMS may have cursor attributes that return the value for its length.

--
PowerObject!
-----------------------------------------
The PowerBuilder/PFC Developers' Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top