Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked Parameter Still NeedsCurrentValue = True

Status
Not open for further replies.

stangeljl18

Programmer
Jan 9, 2002
12
0
0
US
I have many reports which use subreports. These reports are based off of stored procedures (requiring parameters).

I pass certain values the the different subreports so they should have a value attached to them. When you run the report in Crystal, it only prompts me for the parameters which haven't been linked (correct).

When I load the report using the RDC object model, I loop through a the report and subreports ParamaterfieldDefinitions collection and look for which paramters NeedsCurrentValue = True...

Well, they all come back as True. (wrong) Why don't the linked parameters show that they have a current value?


 
Found a workaround...

Turning Enableparamaterprompt = False would default
all to a null value. Therefore you don't have to worry about setting a value to each one, only those that need them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top