Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Create the comma delimited flat file

Posted on 2013-06-21
3
Medium Priority
?
496 Views
Last Modified: 2013-06-21
I am being asked to create a comma delimited flat file. This is the format for the file. It must include a carriage return line feed after every line:

Last Name,First Name,DOB (MM/DD/YYYY),Customer number

Running a separate program against the file, the report will populate the entries.
Using Excel, should I put an entry into into each field with the comma (Last Name,) or does the separated field create it's own comma?

Thanks
0
Comment
Question by:bizzie247
3 Comments
 
LVL 9

Accepted Solution

by:
TazDevil1674 earned 1600 total points
ID: 39265847
Excel adds a comma (or whatever you specify) to denote a change in column.  ie  If you have data in Columns A & C you would get an output like:

Surname,,Firstname

Hope this helps
0
 
LVL 12

Expert Comment

by:telyni19
ID: 39266079
You can save a file as CSV directly from Excel, which will automatically comma-delimit the data. When you open a CSV in Excel, you won't see the commas: Excel will display the data in separate columns automatically. But if you open the CSV in a text editor, you'll see the commas.
0
 

Author Closing Comment

by:bizzie247
ID: 39266782
Thanks, I believe I have it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question