>Is it possible to get the numeric position of a record when a table is viewed in indexed order? Something like a logical *indexed* RECNO()?
If you use SELECT - SQL to get your data, be sure to include NOFILTER. Otherwise, the record number is meaningless for your purposes.
You can also save the record number, and do something similar to this:
lnRecno = recno()
lnRecCounter = 0
go top
do while recno() # lnRecno
lnRecCounter = lnRecCounter + 1
skip
enddo
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)