Click here to Skip to main content
15,911,890 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i create crystal report for invoice,

problem is always open dialog for parameter, if i click on cancel button then also load data, but dont no why dialog is open?
Posted
Comments
Christian Graus 25-Aug-12 9:20am    
I assume it shows a dialog because it thinks it needs to ask for parameters.
AmitGajjar 25-Aug-12 9:32am    
you need to pass parameters to your report. please verify you have specified all parameters.
[no name] 25-Aug-12 9:41am    
hm, i already pass parameter, if i cancel dialog box then also load crystal report with right parameter value.
Subhrajit Naha 25-Aug-12 10:15am    
can u provide the block of code of how you're assigning the parameters to your crystal report and how you are feeling your dataset?

1 solution

One possibility is that you haven't called ApplyCurrentValues when setting the parameter values. For an example refer to http://msdn.microsoft.com/en-us/library/ms225879(v=vs.80).aspx[^] also make sure that the EnableParameterPrompt property is set to false.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900