Solved

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

Posted on 2007-04-05
9
397 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

13 Experts available now in Live!

Get 1:1 Help Now