Hello, I'm creating reports dynamically using Crystal Reports 9 Advanced and VS.NET 2002. When doing this, I go through all the parameters tied to the report document and can see all the parameters. In Crystal 9, a green check mark is displayed if the parameter
is inserted into the report. One thing I haven't been able to figure out is how to get only the inserted parameters to be displayed on the web page and it's driving me nuts (in other words, when the report is executed, I want only the parameters that trigger
the dialog box - granted, I don't want the dialog box in my application, just the trigger functionality). Is there a way to get only the inserted parameters to be displayed? If I do it the other way, some parameters aren't inserted into the report give me
an "Operation Illegal Link Error" when trying to execute the report. I have tried paramDef.HasCurrentValue to check and that hasn't worked. I tried doing a check on parameter name paramDef.parameterFieldName = "{?@Name}" and that doesn't work either because
there is no difference between parameters in 9. Anyone have any ideas..I'd greatly appreciate any input on the matter. Thanks, Josepoopy
Easiest way i can think of is to wrap your parameters in a formula field and use the formula field on your report and NOT the parameter field. Your formula will check if the parameter contains a value and will either display the parameter or not. LH
The reports are made by several different people and I'm not about to go editing every single one of them. So, for the time being...if the report parameters aren't inserted into the report, I'm taking them out and placing what I did in the comments section
of the Summary Info. From what I have read, the parameters (inserted and not inserted) are part of a collection and cannot be distinguished from the two in the object listing. So, I had to go with the next best option...and remove the ones that weren't inserted.
It would help if we had a select few people that completely understood CR creating these things instead of EVERYONE trying to make these things. josepoopy
josepoopy
Member
15 Points
3 Posts
Triggering Inserted Parameters
Aug 11, 2003 01:39 PM|LINK
LordHits
Member
520 Points
104 Posts
Re: Triggering Inserted Parameters
Aug 11, 2003 02:42 PM|LINK
josepoopy
Member
15 Points
3 Posts
Re: Triggering Inserted Parameters
Aug 11, 2003 04:46 PM|LINK
josepoopy
Member
15 Points
3 Posts
Re: Triggering Inserted Parameters
Aug 26, 2003 06:19 PM|LINK