Solved

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

Posted on 2007-04-05
9
399 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 Formula Field 17 64
Crystal report running 3 42
String to Date Formula Failure 2 44
Run a batch file when a Crystal Report is opened 5 12
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…
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…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now