Hi all
I am trying to pass some values from a Visual Basic 6 MSHFlexGrid to a CrystalReport 11 report.
Is there any example or something?
Thank you
Printable View
Hi all
I am trying to pass some values from a Visual Basic 6 MSHFlexGrid to a CrystalReport 11 report.
Is there any example or something?
Thank you
How does your grid get loaded?
Instead of the grid itself, it might be easier to pass it the recordset (if you are using one) that loads the grid.
There is a Paramaters collection of the report object that you can use to pass parameters from VB to CR. Does CR XI still support ADO recordsets? If so you can do like SeanK posted and set the reports DataSource to your recordset.
I dont use a recordset. I type all values that I use and insert in my grid.Quote:
Originally Posted by RobDog888
Any idea.
Sounds like your going to have to loop through your grid and write the values to a recordset.
No I type the values I want to the grid then is done some calculates and I wont to print the result of the calculation to the report.Quote:
Originally Posted by RobDog888
I uderstarnd but I dont wont to use Recordset
Well the only way is to set a datasource for your report. You can not just use typed values.
How I can make this Datasource?