Converting Recordset to CSV

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael

    #1

    Converting Recordset to CSV

    After reviewing the internet I did not find strong and simple example that
    transfer recordset to simple CSV file.

    Thanks for any help


  • Bob Barrows [MVP]

    #2
    Re: Converting Recordset to CSV

    Michael wrote:
    After reviewing the internet I did not find strong and simple example
    that transfer recordset to simple CSV file.
    >
    Thanks for any help
    There is no single-step method of doing this. Basically, you create a string
    containing the csv data and then use FileSystemObjec t to write it to a file.

    The GetString method is very useful for generating the string. Its default
    arguments will result in a csv string:

    dim rs, s
    s=rs.GetString

    ASPFAQ has several examples of using the FileSystemObjec t.

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Comment

    • Jon Paal

      #3
      Re: Converting Recordset to CSV





      "Michael" <michael.groysm an@intergraph.c omwrote in message news:uJK0Q5LLHH A.3668@TK2MSFTN GP02.phx.gbl...
      After reviewing the internet I did not find strong and simple example that transfer recordset to simple CSV file.
      >
      Thanks for any help
      >

      Comment

      Working...