Diane: Any chance you can use a DBGrid? If so, on the "options" page
there's a checkbox for "show record number" or something like that.
Otherwise, here's some code I saved from one of Razzak's examples, although I
never tried it. The code goes on row entry. You would replace "customer"
with your tale name. You would have a static text (I think) with a component
ID
of "RecInfo" that you are changing the caption of at the end.
GETPROPERTY TABLE 'Customer->RECNO' vRecNo
GETPROPERTY TABLE 'Customer->RECORDCOUNT' vRecordCount
SET VAR vRecInfo = ('Record' & .vRecNo & 'of' & .vRecordCount)
PROPERTY RecInfo CAPTION .vRecInfo
Karen
> Assuming that you have more rows of data that you can display on the s/r
> then one way would be to put the data into a temp table and autonumber it so
> that you can use that number as your row number. (If you have less rows then
> just use text beside the s/r.)
>
> There is also a property command for "table recordcount" but I don't know
> if you could use that to do what you want with getproperty
> (formproperties76.pdf p329). I would have thought that you ought to be able
> to get the current
> row if not all of them.
>
> Regards,
> Alastair.
>