|
-
Oct 16th, 2006, 03:38 PM
#1
Thread Starter
Addicted Member
[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
Last edited by waely; Oct 17th, 2006 at 02:55 PM.
-
Oct 17th, 2006, 10:59 AM
#2
Thread Starter
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|