>I am working with bbListView, a stable excellent product.
>
>I am using a Foxpro table as data source, and have no problem implementing the list view.
>
>What would be the approach to have bbListView return the position of the list in the database to the calling form?
>
>Thanks.
You can force bbListView to save RECNO() in column 1 ItemDataSource when you add Column 1.
bbListView.Columns.Item(1).PropertySources.ItemDataSource = ;
"=RECNO('" + bbListView.Columns.ControlSource + "')"
And then use this in AfterRowChanged event:
lnRecNo = bbListView.ListItem(RowIndex, 1)
GO lnRecNo