Results 1 to 3 of 3

Thread: ADO Recordset SAVE method

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Brazil
    Posts
    14

    Angry

    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
    by Ramosf

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374
    Could you explain that a little more clearly and post your
    code? I don't think that I understand you.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Brazil
    Posts
    14
    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?
    by Ramosf

Posting Permissions

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



Click Here to Expand Forum to Full Width