Re: standalone ADO recordset by ljb
ljb
Mon Jan 03 15:59:03 CST 2005
"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:e6kfajd8EHA.1404@TK2MSFTNGP11.phx.gbl...
> ljb wrote:
> > If I create and fill a standalone ADO recordset is there any way I
> > can write SQL to compare these records with an existing Access table?
> > I have an Access database with photo file names and descriptions in a
> > table. My vbscript builds a standalone recordset based on jpg files
> > found in some folder. I would like to report any records missing in
> > either the database table or files in the folder.
> >
> > thanks
> > ljb
> No. you would have to enter the data into an Access table in order to use
> SQL to compare it.
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>
Is there any quick way to convert a standalone recordset into a table? I
came across some examples to save the recordset as XML. Then the XML was
loaded, modified using DOM, saved again and then opened in Access. It seemed
like a lot of work just to create the missing field info. Perhaps there
isn't anything quicker than just creating a table and loading it from
vbscript which I guess is quite similar to what I'm doing already.
thanks
ljb