Solved

crystal report in notepad

Posted on 2004-10-10
5
384 Views
Last Modified: 2012-08-13
Hi all,
I have to perform an updating of field names and data in DB and wants to find out whether that field or data has been used in my crystal report so I can do relevant changes to the report as well.

I have to tools to search for all the text in a file, but because crystal report is not in text format, I can really use that tool, does anyone knows how can I change my existing report into text so that I can perform the searching of specific string (in the field name or hardcoded data ) in the report?

Thanks
Joey
0
Comment
Question by:monjoes
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
Dabas earned 125 total points
ID: 12273881
Hi monjoes,
In CR, click on the Export button (Looks like a small envelope) and then choose then choose report definition from the list and save to disk.
This will store all of the report information into a text file

Dabas
0
 
LVL 19

Expert Comment

by:arif_eqbal
ID: 12273889
What Language are you using if you'r using VB


Me.CrystalReport1.Destination = crptToFile
Me.CrystalReport1.PrintFileName = "C:\test1.rec"
Me.CrystalReport1.PrintFileType = crptCSV
Me.CrystalReport1.Action = 1

i.e. you need to specify the Destination as a File and provide the FileName, I think the Crystal report methods will be somewhat same in any language you use.

After your Rec file which is bacically a coma separated Text File is created you can read the file through your program and search for the string
0
 
LVL 27

Expert Comment

by:Dabas
ID: 12273911
I agree with arif's solution, as long as you do not have any formula that uses the field name as is now.
The solution I proposed will also let you check your formulas...

Dabas
0
 

Author Comment

by:monjoes
ID: 12366088
Thanks for your comment, I hve tried that and it works fine,
However, I had a formula in running total and it cannot be exported to the text file.
Any ideas?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

792 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