Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to generate the result in a text file?

 
   Database Help (Home) -> Visual Basic -> ADO RSS
Next:  how do I create a database that uploads to an exi..  
Author Message
Kate5

External


Since: Sep 16, 2004
Posts: 1



(Msg. 1) Posted: Sun Feb 20, 2005 10:45 pm
Post subject: how to generate the result in a text file?
Archived from groups: microsoft>public>vb>database>ado (more info?)

I know how to get data from the database, but how to put the result to a text
file (.csv)? The idea is when the user clicks the 'result' button, it should
generate a .csv file with the query result. Thanks!

 >> Stay informed about: how to generate the result in a text file? 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 2) Posted: Mon Feb 21, 2005 11:28 am
Post subject: Re: how to generate the result in a text file? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ADO Recordset Export Class (CSV, HTML, Excel)
<a rel="nofollow" style='text-decoration: none;' href="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=58842" target="_blank">http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txt...eId=588</a>

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
<a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp" target="_blank">http://www.veign.com/vrc_main.asp</a>
--

"Kate" wrote in message

 > I know how to get data from the database, but how to put the result to a
text
 > file (.csv)? The idea is when the user clicks the 'result' button, it
should
 > generate a .csv file with the query result. Thanks!

 >> Stay informed about: how to generate the result in a text file? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Storing image file to MSSQL by VB - Dear all, I would like to store a image file to my MSSQL. how can i program it .. ? Thanks all

runtime error 3021 and user permissions - I have a VB6 application that uses ADO 2.7 to access an Access2000 database. I have found on Windows XP and 2000, that if the user is not part of the administrators group, they receive: "runtime error 3021. Either BOF or EOF is true, or the current ...

updatable ado-recordset - Hi, In the code below i have an updatable ado-recordset. However it is not working how i thought it would be. Maybe someone can help me out here? The global connection (Thanks to Brendan): Option Compare Database Option Explicit Public mconn As..

ADO Connection Access Database VB - I have been accessing a database on a local drive thru an ADO connection. The following is the code that I have been using. cnCejco.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Y:\Cejco.mdb;Persist Security Info=False" The problem is n...

DataReport PageBreak - Hi everyone, I would like to know how to force pagebreak in a datareport for example after 5 records printed. Thank you all
   Database Help (Home) -> Visual Basic -> ADO All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]