Solved

Processing a Text File as Input for a Crystal Report 10.2????

Posted on 2007-04-05
9
404 Views
Last Modified: 2010-05-19
This is the first time I've ever had to use a Text File as input for a Crystal Report and I have no idea how to do this. I got as far as creating a new connection using ODBC and then after that it asked for the SQL statement. I'm not sure from that point on.

Please HELP!!!!

Thanks,
Blake
0
Comment
Question by:BlakeMcKenna
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

by:MOA81
ID: 18858841
you dont have to go through the ODBC

go to create a new connection  then choose 'Access/Excel' data source
then from the drop down list choose 'Text'
then the report will open as empty and the fields are placed in the fields box
0
 

Author Comment

by:BlakeMcKenna
ID: 18859249
I just tried it and it gave me the Error:

"Logon Failed.
 Details: No database was specified."
0
 
LVL 8

Expert Comment

by:MOA81
ID: 18859275
is your text tab delimited

or its based on semi colons

I mean there has to be a way the text is structured otherwise its not a database

agree?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:BlakeMcKenna
ID: 18859651
Yes, it's not a DB. The input file is a fixed field length text file. It's not comma or tab delimited.
0
 
LVL 8

Expert Comment

by:MOA81
ID: 18859673
then try importing this into Excel and then slice it up as you require
then make the excel your data source

can this help in your scenario
0
 

Author Comment

by:BlakeMcKenna
ID: 18859765
No, because I want to process a text file without having to import into excel or store the data in a DB. There should be a way to do this.
0
 
LVL 8

Expert Comment

by:MOA81
ID: 18859827
can place some of the text content here

some sample data so we can try please

thanks
0
 

Author Comment

by:BlakeMcKenna
ID: 18859912
Can I upload the file?
0
 
LVL 8

Accepted Solution

by:
MOA81 earned 500 total points
ID: 18859942
No need,

Please follow these steps:
1- open a blank report
2- it will ask you for a connection choose Access/Excel
3- click ... to allocate the file and change the type to Text
4- then it should open the file even if its not delimited or spaced or semi colon

I dont know why you are getting the error

did you follow these steps
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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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