lenin
Jun 8th, 2000, 09:39 PM
Hi,
I have an issue with the reuse of a recordset object.
Basically I have a recordset which I assign the results of a query to. If the user clicks on another tab on the form the recordset is set to Nothing. To my knowledge this is perfectly acceptable.
When I reassign the recordset to the results of another query, the first record is read correctly and the relevant controls on the the tab are populate. However when I try to move to the next record and assign control.datasource, control.datamember etc I get the following:
"Unable to Bind to Field or DataMember"
The reasons provided by documentation is not of any value.
Thanks in advance.
Lenin
I have an issue with the reuse of a recordset object.
Basically I have a recordset which I assign the results of a query to. If the user clicks on another tab on the form the recordset is set to Nothing. To my knowledge this is perfectly acceptable.
When I reassign the recordset to the results of another query, the first record is read correctly and the relevant controls on the the tab are populate. However when I try to move to the next record and assign control.datasource, control.datamember etc I get the following:
"Unable to Bind to Field or DataMember"
The reasons provided by documentation is not of any value.
Thanks in advance.
Lenin