PDA

Click to See Complete Forum and Search --> : ADO Recordset SAVE method


RAMOSF
Sep 14th, 2000, 01:21 PM
Hi guys

I am having a problem here. I am using sth lik ethat
Recorset.Save "C:\teste.txt"

which I think saves the recordset on that file; but the
command
Recordset.open "c:\teste.txt"
which was supposed to load the recordset from the file,
generates the error "UPDATE, INSERT, SELECT... expected in argument" .

Help me!

Thanks

DrewDog_21
Sep 14th, 2000, 01:37 PM
Could you explain that a little more clearly and post your
code? I don't think that I understand you.

RAMOSF
Sep 14th, 2000, 01:42 PM
Ok,
in another words, what I want to know is:

I know I can save a recordset to a file using the
SAVE method, ok, it works.
But in VB help it says that, to restore these data
from the file to a recordset, I should use the OPEN
method. But it doesn´t work.
the first parameter of the Open method, SOURCE, is defined to be a SQL statement,..., and also a filename. But How
should I use the filename, because

MyRecordset.open "C:\teste.txt"
not works.
got me?