Solved

Changing a parameter value once a report is run

Posted on 2009-05-11
6
351 Views
Last Modified: 2012-08-13
Is it possible to change a parameter on a report once the report has been run without running the report again
0
Comment
Question by:Stevepaget
  • 3
  • 2
6 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 24353710
No.

If the value of a parameter has no influence over the content or appearance of a report then why would you have such a parameter in the first place?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24353808
Agree.  In CR2008 you can change parameters but Crystal will most likely run the report againn since it really doesn't know how the changed parameter will affect the report.
For instance even if you are only displaying that parameter the size of the field may ne affected.

mlmcc
0
 

Author Comment

by:Stevepaget
ID: 24353822
What if there are several reports and by a mistake one of the parameters was selected wrong
Don't want to run the report again just want to rectify one parameter

What if a parameter changes once something contained in the report is known?
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 100

Expert Comment

by:mlmcc
ID: 24354279
As we stated, crystal doesn't really know how the parameter is used. If it is part of record selection then obvious ly you have to rerun the report to select the new data.

If it is for display only then the report could just get an update.  But I don't think Crystal can do that.

mlmcc
0
 

Author Comment

by:Stevepaget
ID: 24354335
We are trying to edit a text field based on a parameter
If it is true idoes one thing if it is false it does the other. We obviously don't know the answer to the parameter until the report is run becuase it gets a value from the details section
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 24355561
So you want to display
'ABC DEF GHI' if a vlaue is true
'JKL MNO PQR' if a value is false

What is the test?

You can use a formula like

If (YourField} = True then
   'ABC DEF GHI'
else
   'JKL MNO PQR'

mlmcc
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

816 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

10 Experts available now in Live!

Get 1:1 Help Now