Results 1 to 2 of 2

Thread: [Resolved]pass parameters from database to report?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    150

    [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.

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    150

    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
  •  



Click Here to Expand Forum to Full Width