>>A RECNO() funny - If you have a table and you do a locate (or skip etc) and end up at EOF() then RECNO() returns 1 more than the actual number of records. Does everyone but me know about this :)
>
>Because it returns 1 for an table with no records, I had to go and fix a bunch of somebody else's previous code.
If I need to use GOTO in my code I always add a check for between (lnRecno, 1, reccount())
If it's not broken, fix it until it is.
My Blog