iOS Question Counting Rows with resultset

tufanv

Expert
Licensed User
Longtime User
Hello,

I know we must use nextrow method with b4i but i cant count the number of rows with it . Is there an easy vay to count rws of a result set ?

TY
 

tufanv

Expert
Licensed User
Longtime User
I am using
for i = 0 to cursor4.rowcount-1 and i cant figure out how to use count in query with this purpose . Can you show a little example for my for next ( or can i use do while resultset.nextrow loop instead of for i=0 to rowcount-1 ? )
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User

Erel Do I have to close the resultset everytime. For example if i use rs1 for 2 different queries do i have to close and use again unlike the cursor ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…