niralibaan
25th March 2010, 13:43
hi,
Pls tell me How to get recourd count of query in ERP?
Pls tell me the code for the same.
Regards,
nirali
bdittmar
25th March 2010, 14:01
hi,
Pls tell me How to get recourd count of query in ERP?
Pls tell me the code for the same.
Regards,
nirali
Hello,
do you mean something like ?
select ......
from .......
where .........
selectdo
counter = counter + 1
display("counter")
refresh()
endselect
or :
select count(field)
Regards
mark_h
25th March 2010, 15:04
As far as I know there is nothing in Baan which tells you the number of records returned by a query. So usually I use the select count() that bdittmar has recommended. One query to get the count and one query to process the records.