>Trying to get a label to say something to the effect of "Record x of n" where x = the current record and n = the number of records in the table. I used the code below, but there is a syntax error.
>
>reclabel.caption = "Record" +(recno() + " of " + reccount())
>
>Please help, thanks
>
>Jim
Label.Caption="Record "+alltrim(str(recno()))+ " of "+alltrim(str(reccount()))
Also note, that Reccount will count all records including deleted, so you may want to calculate total separately using COUNT.
Edward Pikman
Independent Consultant