Results 1 to 3 of 3

Thread: RS update method don't work with bound controls

  1. #1

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    RS update method don't work with bound controls

    I have form with datacomboes and TextBoxes and I have
    Set .DataField property to the names of the Fields in my database and also the datasource property to my Recordset.datasource
    When I change a single record then press save button that does
    Recordset.update and then Unload my form, the changes are not updated to the database
    If I use recordset.movenext everything if fine, WHY .update does nothing in this case?
    Thank you!

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: RS update method don't work with bound controls

    Which LockType are you using? If it is adLockBatchOptimistic you must call Recordset.UpdateBatch.

  3. #3

    Thread Starter
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    Re: RS update method don't work with bound controls

    , adOpenStatic, adLockOptimistic

    it's not the problem it's something else
    I am missing

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