Results 1 to 2 of 2

Thread: Saving to two ADODC's

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2008
    Posts
    48

    Saving to two ADODC's

    My saving to two adodc's at the same time comes up with an error.
    Here is the code:
    Private Sub Image8_Click()
    txt_memberID2 = txt_memberID
    txt_handicaps2 = txt_handicaps
    txt_handicaps3 = txt_handicaps
    Adodc1.Recordset.Update
    Adodc1.Recordset.Requery
    Adodc2.Recordset.Update
    Adodc2.Recordset.Requery
    Unload Me
    frm_members.Show
    End Sub

  2. #2
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Saving to two ADODC's

    What error is being reported and on which line. The code you've given doesn't give us any idea of the current state of the RecordSets (ie are they populated and Open?) perhaps we need to see a little more code.

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