[Resolved]pass parameters from database to report?
hi,
I created Crystal Report in Visual Studio that executes a Stored Proc. I was able to pass parameters from my application to the database but I want these parameters also on my crystal report. how can I pass these parameters from my db to my report?
a sample code or tutorial is appreciated.
Waely
Re: pass parameters from database to report?
hi,
using this code does't generate any errors but nothing shows up on my report:
MyReport.SetParameterValue(0, "Jason")
MyReport.SetParameterValue(1, "Dorbank")
MyReport.SetParameterValue(2, "25")
MyReport.SetParameterValue(3, "Phoenix")
and made sure that parametes I'm expecting are strings and still nothing.
any help is appreciated.