1 Attachment(s)
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.
Re: Crystal Report: Getting started
Can one of the experts get me started please.....
Re: Crystal Report: Getting started
Check the .NET forum. Many Crystal queries and answers there.
Re: Crystal Report: Getting started
Have you used Crystal reports before? Also do you just want to pass the results to the report?
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
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
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?
Re: Crystal Report: Getting started
I am using the crystal reports that comes along with Visual Studio 2005.
thanks
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.
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.
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