Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    3

    Unanswered: Update - XML+ ADO Recordset

    Hi!.
    I am working with a recordset (ADO) and a file XML.
    I have records in the xml.
    I open the file from the recordset, and then I want to update a record in the file. Is there any way that I can do it with a method?. I mean, I don't want to go updating record by record, if there is any way, it would be better.
    Any ideas?

    Thanks,


    Anahi

  2. #2
    Join Date
    Jan 2004
    Posts
    184

    Re: Update - XML+ ADO Recordset

    Yes using UpdateBatch method

    Try this control featured on download.com that I have been using that has made my life easier:

    http://www.geocities.com/scirocco_ha/DataControl.htm

    I bind my controls and that is it All the complexities of ADO are hidden from the user which is you. It does all the updates for you.

    You can Navigate, Add New, Delete, Refresh, Search and Save Changes to my recordsets without any other code. That is really it, no other code is needed.

    This works in any environment VB, Access, VC++ etc...

    Let me know what you think.

    Originally posted by aluduena
    Hi!.
    I am working with a recordset (ADO) and a file XML.
    I have records in the xml.
    I open the file from the recordset, and then I want to update a record in the file. Is there any way that I can do it with a method?. I mean, I don't want to go updating record by record, if there is any way, it would be better.
    Any ideas?

    Thanks,


    Anahi

Posting Permissions

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