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
Solved

CSV file as a datasource

Posted on 2003-10-28
2
519 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
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports CSV data source, field types 6 132
Formatting number to Text Format DDDDDDDDCC 1 45
Mask on Parameter CR2008 28 61
Legend Colours Not Matching Riser Colours 9 16
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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 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