Solved

crystal report in notepad

Posted on 2004-10-10
5
388 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
[X]
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
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

734 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