Hi:

We are trying to get the row count of the resultset. For this we are
getting the value of

esql:results//esql:get-row-position

<esql:results>
  <esql:row-results>
  ... some work ...
  </esql:row-results>
  <xsp:logic>
    count = <esql:get-row-position/>;
  </xsp:logic>
</esql:results>

NOTE: I am reading the tag AFTER the esql:row-results element and the
returned value is wrong.

Using a simple counter we know there are just 3 rows, but the tag
<esql:get-row-position/> is returing 5.

Why?

Best Regards,

Antonio Gallardo

Reply via email to