ADO GetRows array to XML?
rgutter_at_bctf.ca
Date: 02/20/05
- Next message: Daniel Bronstein: "Multiple sources for VB data report"
- Previous message: Stephen Howe: "Re: ADO Shape and Subqueries"
- Next in thread: rgutter_at_bctf.ca: "Re: ADO GetRows array to XML?"
- Reply: rgutter_at_bctf.ca: "Re: ADO GetRows array to XML?"
- Messages sorted by: [ date ] [ thread ]
Date: 20 Feb 2005 06:14:49 -0800
I need to pass a few dozen sequential records at a time from a 50K row
recordset to another process (which expects an XML file), and thought I
had the solution: just iterating through this VB-ish pseudocode
avar(0)=Rs.Bookmark
Rs.Move n
avar(1)=Rs.Bookmark
Rs.Filter = Array(avar(0),avar(1))
Rs.Save filename.xml,adPersist
Rs.MoveNext
But it turns out that the filtered Rs gets saved only if the filter is
constructed via a criteria string; bookmarks won't do.
So I'm considering Rs.GetArray(x) instead. But - is there a simple way
to create an XML file from the resultant array?
Thanks.
- Next message: Daniel Bronstein: "Multiple sources for VB data report"
- Previous message: Stephen Howe: "Re: ADO Shape and Subqueries"
- Next in thread: rgutter_at_bctf.ca: "Re: ADO GetRows array to XML?"
- Reply: rgutter_at_bctf.ca: "Re: ADO GetRows array to XML?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|