Results 1 to 3 of 3

Thread: adodc recordset update

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2001
    Location
    Mts
    Posts
    48

    Exclamation adodc recordset update

    I have an adodc control on a form and all my textboxes are bound to this adodc.
    Then when I insert a new record to my Table, I used the coding as follows: adodc1.recordset.update

    The problem is that it inserts the record at the end of my table in my access database but in adodc recordset it is not at the end.
    why this and what's the solution.

    thanks

  2. #2
    Member
    Join Date
    Feb 2001
    Location
    St. Louis, Missouri
    Posts
    49
    What makes you say it is not at the end? If, after adding the new record, you later adodc1.recordset.movelast is should go to the new record since that is now the last record.

    I am not sure I am really answering what you are asking. If not, please reply and we can try again.

    Eva

  3. #3
    Lively Member moonguy's Avatar
    Join Date
    Apr 2001
    Location
    pune(india)
    Posts
    67

    Thumbs up

    try using
    adodc1.refresh OR adodc1.recordset.resync after u update.
    Vishal Mungi
    [email protected]
    www.geocities.com/vishalmungi

    VB,ASP,C++,Java,Oracle,MAX,photoshop,XML..,


    ~~~~
    \ - - /

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