VBTools 5.0I have a read_only simple database, bound to a 3dlistbox, via a data control. I would like to use the FindFirst routine to find a record in the Recordset, and then set the ListIndex to the appropriate row to show the record.
However, there does not seem to be a way of extracting the current record number from the Recordset.
If this were possible, List.TopIndex could be used to shuffle the list window.
(Note: Findfirst looks up the data OK, but leaves the list window unchanged.)
There has to be a way to retrieve the current record from the record set, and be able to use this in conjunction with the .FindFirst method to do what you are talking about.
Something along the lines of PercentPosition property, AbsolutePosition Property, or RecordCount Property, should be able to provide you with a position pointer to do what you want.