Results 1 to 11 of 11

Thread: Crystal Report: Getting started

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    449

    Exclamation Crystal Report: Getting started

    Hello,

    In my project, I have some textboxes in the UI that are to be sent to the crystal report (basically some calculations) and then to be able to print the report using VB.2005.

    A simple example would be:

    Textbox1.text = 10
    Textbox2.text = 20
    Textbox3.text = 30
    Textbox4.text = 40
    Textbox5.text = 50

    Output in Report
    Sum of all values = 150
    Product of all values = 12000000
    Max Value = 20
    Min Value = 50


    Any help will be appreciated.
    Attached Files Attached Files

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    449

    Re: Crystal Report: Getting started

    Can one of the experts get me started please.....

  3. #3
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: Crystal Report: Getting started

    Check the .NET forum. Many Crystal queries and answers there.

  4. #4
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Crystal Report: Getting started

    Have you used Crystal reports before? Also do you just want to pass the results to the report?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    449

    Re: Crystal Report: Getting started

    Hi Jigabyte,
    Thank you for your response...

    I have not used CR before; I just want to pass the results to the report..


    thanks

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    449

    Re: Crystal Report: Getting started

    Hi Jigabyte,
    Thank you for your response...

    I have not used CR before; I just want to pass the results to the report directly from UI without any database...


    thanks

  7. #7
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Crystal Report: Getting started

    What version of Crystal are you using? I would create a blank report with no database connections and then create a formula field for each of the outputs you want to display then you can call the report in VB and pass the results in the formula fields. Are you using VB6?

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    449

    Re: Crystal Report: Getting started

    I am using the crystal reports that comes along with Visual Studio 2005.

    thanks

  9. #9
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: Crystal Report: Getting started

    Ok , u can do one thing , u can make the formula fields , for example 6 , five for ur data and last one for ur summary. Do not define any thing in first five and in last one define the formula also like field1+field2+...+field5.

    Now just pass 5 values to these fields from ur code. How to pass it , u can easily get many examples in msdn.
    Thanks and Regards,

    Muhammad Abbas

  10. #10
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Crystal Report: Getting started

    I think he wants to create the report on the fly in VS2005. I have never do this before as I have Crystal XI developers version and I would create the report in there and then use the report viewer in VS2005.

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    449

    Re: Crystal Report: Getting started

    Hello mabbas110,

    I have checked the net and MSDN, most of examples are of populating CS with a DB;
    Could you please lead me to an example, where in only text is passed to CS from UI at run-time without any DB..

    thanks

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