Results 1 to 3 of 3

Thread: Unable to Bind to Field or DataMember

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 1999
    Location
    Belfast
    Posts
    254
    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

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    I've gotten that error when I tried to bind a textbox to an ADO data control, and the textbox had a column name that was not part of the recordset, so naturally it didn't work.

    I doubt this solves your problem, but it might give you a place to start....

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 1999
    Location
    Belfast
    Posts
    254
    Thanks for the reply, but I have checked all the normal probable reasons.

    Lenin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width