The record pointer position is reported by RECNO(). The RECCOUNT() gives the # of physical records in a table/cursor.
>
>Thanks for the tip. In this case there is only one record, after the CURSORTOXML it reports RECCONT() still 1, but simply by issuing a GO TOP or GOTO 1 solves the problem.
>
>I would of never speculated that i was not on this record.
>
--sb--