473,471 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

create csv file

Please how create a csv file with this example:

campo1,campo2,campo3
"4543",234.43,12/06/1998
"8976",111.90,03/02/2003

Thanks a lot
Jun 5 '06 #1
3 3069
Jose,

Are you sure this is a valid csv file, in my opinion have in a csv file all
columns the same format.

Cor

"Jose" <jo********@unica.com> schreef in bericht
news:ON**************@TK2MSFTNGP02.phx.gbl...
Please how create a csv file with this example:

campo1,campo2,campo3
"4543",234.43,12/06/1998
"8976",111.90,03/02/2003

Thanks a lot

Jun 6 '06 #2
Yes Cor It's valid. The firt line is the fields of my select and the second
and third lines is my data. How make it this file?

Thanks a lot.
"Cor Ligthert [MVP]" <no************@planet.nl> escribió en el mensaje
news:%2******************@TK2MSFTNGP02.phx.gbl...
Jose,

Are you sure this is a valid csv file, in my opinion have in a csv file
all columns the same format.

Cor

"Jose" <jo********@unica.com> schreef in bericht
news:ON**************@TK2MSFTNGP02.phx.gbl...
Please how create a csv file with this example:

campo1,campo2,campo3
"4543",234.43,12/06/1998
"8976",111.90,03/02/2003

Thanks a lot


Jun 6 '06 #3
Jose,

Doh,

Did not see that directly that it was the header, however it is mostly just
looping.
See by instance this one.

http://www.vb-tips.com/default.aspx?...3-d27a1a996639

You cannot use it because you use the 100% correct way of CSV so your
innerloop would be in my idea all indidivual concatenating using that
stringbuilder.

I hope this helps,

Cor

"Jose" <jo********@unica.com> schreef in bericht
news:u5**************@TK2MSFTNGP04.phx.gbl...
Yes Cor It's valid. The firt line is the fields of my select and the
second and third lines is my data. How make it this file?

Thanks a lot.
"Cor Ligthert [MVP]" <no************@planet.nl> escribió en el mensaje
news:%2******************@TK2MSFTNGP02.phx.gbl...
Jose,

Are you sure this is a valid csv file, in my opinion have in a csv file
all columns the same format.

Cor

"Jose" <jo********@unica.com> schreef in bericht
news:ON**************@TK2MSFTNGP02.phx.gbl...
Please how create a csv file with this example:

campo1,campo2,campo3
"4543",234.43,12/06/1998
"8976",111.90,03/02/2003

Thanks a lot



Jun 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Frank Millman | last post by:
Hi all I need to generate potentially large reports from a database, and I want to offer the option of print preview before actually printing (using wxPython). I figure that the best way to...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
5
by: Michael Sperlle | last post by:
Is it possible? Bestcrypt can supposedly be set up on linux, but it seems to need changes to the kernel before it can be installed, and I have no intention of going through whatever hell that would...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
4
by: Vlad | last post by:
I am having problems using the file.create method within a function that is called when looping through an array of filepaths. If I call my function with a hardcoded file path --C:\Temp.txt the...
3
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
3
by: brook | last post by:
hey all - i´m new to php and having trouble writing a simple code which should create a file. here is the most simplified version: <?php $content = "my content"; $path = "test.txt";...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.