Welcome! Log In Create A New Profile

Advanced

Data Source Count

Posted by Prolay Sarkar 
Prolay Sarkar
Data Source Count
January 22, 2009 07:03PM

hi

how to get the count of temporary data source. i can iterate and can get the count by

hreadfirst(ds)
while not hout(ds)
count++
hreadnext(ds)
end

but is there a easy way to get that.

ds is Data Source
HExecuteSQLQuery(ds,"Select * from application where organisation_id='1'")

Regards,
Prolay
Louis Verbraak
Re: Data Source Count
January 22, 2009 07:13PM
Hello Prolay,

HNbRec should give the result.

HTH.
BLS
Re: Data Source Count
January 22, 2009 08:16PM
What about :
SELECT COUNT(*) ?
Bjoern


Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: