Skip to Content
Former Member
Feb 11, 2009 at 05:39 PM

Can an application user edit a report in preview mode?


Hi there

Please could you provide some guidance for me?

I need to produce letters that hide and show sections/paragraphs based on formulae, but the users want to be able to edit the text.

Once a report has been created and is being displayed within the .Net CrystalReportViewer control (inside a .Net Windows application), is there any way I could permit the user to alter the displayed text and re-save the rpt file?

I know that I can use parameters, but it's not ideal for large paragraphs of text which may include some words in bold for example. The users are only likely to be changing a few words, such as the addressee of the letter. They have insisted that they need to be able to change anything on the letter.

I also know that (with Crystal XI or 2008) I can export to EditableRTF which does not put the text in frames like the standard RichTextFormat export option. The .Net RichTextBox component does not show headers or footers, which is a pain. I can show the RTFs in Word (even though they miss out lines and boxes from the report, but that's another matter) but quite frankly I'm terrified of the stories of deploying Office interop components in .Net apps.

When Crystal displays a report in preview mode you can click on pararaphs and it KNOWS that there is a 'field' there because it highlights the row(s) with a box. Is there any way we can just edit this text and save the report again?

Do you have any suggestions for me? I'm under pressure to produce an estimate for this area of work and need to know if it is possible with Crystal.

Thanks in advance

James Williams


Some background info for you:

I am currently evaluating Crystal Reports 2008 for use within a major enterprise project. I have successfully used Crystal Reports Basic within Visual Studio, but we want a bit more functionality:

Reports will be produced based on ADO.NET Xml datasets and will be saved to a SQL Server db as blobs of the rpt files. We will be retrieving these rpt files for viewing within a .Net Windows application coded using Visual Studio 2008 in C#.