Avatar of soozh
soozh
Flag for Sweden asked on

Crystal Report parameters

hello,

I am programically passing in parameters to a Crystal Reports report.

I am parsing the ReportDocument.ParametersField object to get the parameters.

How can i tell the difference between the main report parameters, and any sub report parameters which get their values in the sub report links?

I only want to pass in values to the main report parameters.
Crystal Reports

Avatar of undefined
Last Comment
soozh

8/22/2022 - Mon
Mike McCracken

I generally use subreports that don't have their own parameters.

Are you sure you are getting subreport parameters in the parametersField list?
I have used that method for calling a report from an application but in the methods I have used, the subreport parameters were only available when I opened the subreport and worked with it.

mlmcc
soozh

ASKER
yes we are... and the parameters were there, all of them, including the subreport parameters....
SOLUTION
Mike McCracken

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
soozh

ASKER
We used the IsLinked property... thanks for the additional responses.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck