update certain record


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: update certain record

  1. #1
    james Guest

    Re: update certain record

    Try using Refresh . That should update the recordset.
    james

    "Apek" <dzulhelmi@my.flextronics.com> wrote in message
    news:3d210a99$1@10.1.10.29...
    >
    > hi..how to update certain recordset??let say i have a combo box that allow
    > user to choose one item..when user choose one item it'll make a text box
    > display certain record base on what they choose from the combobox..my

    problem
    > is,how can i update the value in the textbox so only the recordset(the

    textbox
    > datasource)is updated?i use ADO as a connection..i tried

    this,adodc1.recordset.update
    > but it only update the first record..not the record that i want...please
    > help me...




  2. #2
    Apek Guest

    update certain record


    hi..how to update certain recordset??let say i have a combo box that allow
    user to choose one item..when user choose one item it'll make a text box
    display certain record base on what they choose from the combobox..my problem
    is,how can i update the value in the textbox so only the recordset(the textbox
    datasource)is updated?i use ADO as a connection..i tried this,adodc1.recordset.update
    but it only update the first record..not the record that i want...please
    help me...

  3. #3
    Per Guest

    Re: update certain record


    Hi
    I had the same problem 2 days agoe, I've sloved it by first close the connection
    (after the update) and then in the next line open the connection. This is
    not nice but it worked, amd if the db is small you will not notice it.

    "james" <jamesw2@mesh.net> wrote:
    >Try using Refresh . That should update the recordset.
    >james
    >
    >"Apek" <dzulhelmi@my.flextronics.com> wrote in message
    >news:3d210a99$1@10.1.10.29...
    >>
    >> hi..how to update certain recordset??let say i have a combo box that allow
    >> user to choose one item..when user choose one item it'll make a text box
    >> display certain record base on what they choose from the combobox..my

    >problem
    >> is,how can i update the value in the textbox so only the recordset(the

    >textbox
    >> datasource)is updated?i use ADO as a connection..i tried

    >this,adodc1.recordset.update
    >> but it only update the first record..not the record that i want...please
    >> help me...

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center