Solved

CSV file as a datasource

Posted on 2003-10-28
2
529 Views
Last Modified: 2008-02-01
Hi,

Can anyone tell me how to use a CSV file(s) as a datasource in Crystal Reports v8?

Cheers.
0
Comment
Question by:meehange
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 45 total points
ID: 9641262
You need to create a new ODBC source, using the Text Files driver.

To do this:
Start a new report and Click the Database button.
In the data explorer choose ODBC ; double-click Create New Datasource.
Select User Data source and click next.
Select Microsoft Text Driver (*.txt,*.csv), Next
Finish.
In the ODBC Text Setup dialog, enter a meaningful name.
Deselect Use Current Directory and click Select Directory.
Choose the Folder and click OK.

All text files in the folder should now be visible in the data explorer.
Proceed as usual from this point.

Clearly to make any sensible use of a text file it must have a proper table structure.

Pete
0
 
LVL 1

Author Comment

by:meehange
ID: 9646098
Cheers Pete :)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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