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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on Parameter prompting in CR9

Status
Not open for further replies.

techies

Programmer
Nov 1, 2002
24
US
I'm using VC++ 6.0 to automate our Reporting system. We were using CR8.5 and the product works fine. Now I'm changing them to use CR9.0. I set the parameter values programatically at runtime using the IParameterDefinition interface. When my report previews I still get the parameter promting dialog. When I run through my code in debug mode to see if the parameters current values just before preview, I can see the values set for all the parameters. Why is it still promting me for the parameters.

Thanks in advance for any help.
 
I found out the problem. The Report->PutLocation() method for some reason was emptying my parameter list values. Now I set all the parameter current values after I call Report->PutLocation()method and it solves my problem.

Thanks
Techies
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top