Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created on Xtra Report. Also add one parameter. It is working but when I try to run from a form then gives nothing.

Code is here

It is button Click event

dim report as new FeeReceipt
report.parameter1.value=1
report.parameter1.visible=False
Using reporttool as New ReportPrintTool(report)
reporttool.ShowRibbonPreviewDialog()
End Using

When I click on button
Print Preview Dialogue appears but no data is there...

if I type this
report.parameter1.visible=true
then
Print Preview Dialogue appears with parameter option... If I select parameter and click submit.. It works..
But I am unable to pass parameter from form....

please help.....
Posted

Check this thread which has many answers
Passing parameter from user input to XtraReport display[^]
and their documentation
Create Parameters and Pass Their Values[^]

FYI, always contact the vendor site(devexpress) for quick responses
 
Share this answer
 
Actually problem was this:

I have create parameter in integer and I was passing parameter in string....
Thanks for help....
I is running....
 
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