[SR-Users] How to determine size (number of elements) in xavp stack?

Benoît Panizzon benoit.panizzon at imp.ch
Mon Nov 8 16:21:44 CET 2021

Dear Community

In my previous post I mentioned my problem with sql_xquery

I fear I used this wrong.

$dbr is probably only populated if sql_query is used. Anyway, it is
always 0 in my testings, even if I clearly get a result.

Now I would like to know how many results I have. How can I determine
the size of an $xavp stack (or array)?

Or is there another way to get the number of rows returned by a
sql_xquery without looping an index through all rows?

Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
I m p r o W a r e   A G    -    Leiter Commerce Kunden

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch

More information about the sr-users mailing list