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