ASP RecordSet output to a .CSV textfile

Ask a Question related to ASP, Design and Development.

  1. #1

    Default ASP RecordSet output to a .CSV textfile

    After I've performed a query and held the data in a RecordSet (rsQuery), can
    I dump the recordset into a comma separated text file? How?



    --
    Matt Massie


    Matt Massie Guest

  2. Similar Questions and Discussions

    1. Select * from textfile.txt
      Hi, I want to use a .txt as DB. The querying works with SELECT * FROM textfile.txt and returns me the number of rows. The only problem i have is...
    2. Can a .swf file moniter for textfile changes?
      You could have a seperate text file with a single variable 'modified' in it. The variable would be 'modified=' which obviously has the current...
    3. create textfile using asp
      i want to create atext file using asp(filesystemobject) but my explorer hangs on Why? ...
    4. Read textfile
      Hi, I am using DreamWeaver MX for building a weblink page. I would like to read the links out of a textfile because a textfile can be updated...
    5. ^M...........................How do I get rid of it in my textfile???
      RoadKill wrote: ^M = ASCII 13 = CTRL+M = <CR> ^J = ASCII 10 = CTRL+J = <LF> DOS and thus Windows usually uses <CR><LF> pairs as record...
  3. #2

    Default Re: ASP RecordSet output to a .CSV textfile

    Matt Massie wrote:
    > After I've performed a query and held the data in a RecordSet
    > (rsQuery), can I dump the recordset into a comma separated text file?
    yep
    > How?
    file system object

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

  4. #3

    Default Re: ASP RecordSet output to a .CSV textfile

    Matt Massie wrote:
    > After I've performed a query and held the data in a RecordSet
    > (rsQuery), can I dump the recordset into a comma separated text file?
    > How?
    Already answered in .asp.db.

    Hey Matt,
    The .asp.db newsgroup was the appropriate newsgroup for this question: it
    was database-related, and it was asp-related - a great fit for .asp.db. You
    did not have to post it here as well. Most of the experts in this group also
    subscribe to that group as well, and it can be annoying to have to read the
    same question multiple times. In addition, by posting the same question
    separately in these newsgroups, you created a "multipost". This is bad
    because users in one group cannot see replies to the question from the other
    group. This could cause somebody to waste his time answering a question that
    has already been answered in the other group, which will certainly be
    annoying, and may cause the person who wasted his time to put you on Ignore.
    Who knows, this person may be the only person in the newsgroups who knows
    the answer to your next question, and you're never going to receive his
    answer.

    The best policy is, post your question to one appropriate newsgroup. If
    you've posted it in the wrong place, someone will let you know, and
    hopefully will be polite enough to suggest a more appropriate newsgroup. If
    you can't decide which of several newsgroups is the most appropriate, use
    the cross-posting technique: put the names of the newsgroups into the To
    field of a single message and post it once. It will be posted to all the
    groups in your To field. The benefit is that replies to the message will
    appear in all the newsgroups to which you cross-posted it, so subscripers to
    all the groups will know that your problem has been resolved. The downside
    is that extra bandwidth will be used as a result, so always strive to keep
    the number of cross-posted groups to a minimum.

    Bob

    --
    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"


    Bob Barrows Guest

  5. #4

    Default Re: ASP RecordSet output to a .CSV textfile

    Take a look at [url]http://www.pstruh.cz/tips/detpg_RSConvert.htm[/url]
    Antonin

    "Matt Massie" <rmmassie@comcast.net> wrote in message
    news:OIadnbY42Y7NzgaiRVn-gQ@comcast.com...
    > After I've performed a query and held the data in a RecordSet (rsQuery),
    can
    > I dump the recordset into a comma separated text file? How?
    >
    >
    >
    > --
    > Matt Massie
    >
    >

    Antonin Foller Guest

  6. #5

    Default Re: ASP RecordSet output to a .CSV textfile

    Antonin Foller wrote:
    > Take a look at [url]http://www.pstruh.cz/tips/detpg_RSConvert.htm[/url]
    > Antonin
    >
    That's a good link Antonin. Thanks. I'm still a little leary about using
    this method for 20+ mb of data ...

    Bob Barrows

    --
    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"


    Bob Barrows Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139