Page 1 of 1

TUniTable recno starts at 0 or 1 ?

Posted: Sun 06 Jul 2014 12:31
by testpresta
Hello

There is a recno property on TUniTable component.
I an wondering something: If i have 10 records in the table:
- Does recno range is 0 to 9 ?
- Or range is 1 to 10 ?

Thanks

Re: TUniTable recno starts at 0 or 1 ?

Posted: Mon 07 Jul 2014 08:16
by AlexP
Hello,

In all the components (including TUniTable), RecNo (number of the current record) starts from 1. In your case, the 10th record will have RecNo equal to 10.