hcurrie
9/2/2008 10:40:00 AM
I am about to start looking at adding various reports to the application
that I am developing. They will typically be simple tables of figures, or
graphs. At the moment there are just a few reports, but more will need to be
added in the future, and it would be useful if some of these could be
generated by a colleague who has less programming experience than I.
End-users will also need to be given some options for customising reports,
but this will likely be limited to filtering, sorting, etc... they won't be
creating completely new reports.
The data for the reports will mostly come directly from a database
(Access/Jet, SQL Server or MySQL) but some of them will require various
calculations on the data that I will need to code.
I don't have a problem generating the required SQL, or the code for the
calculations, but I'm looking for some advice for how to go about creating
the underlying system for generating and printing the reports. I have
managed to get something working using a DataGridview and a PrintDocument,
but it would be a lot of work to customise each individual report
(formatting of column widths, fonts, etc...) so I'm wondering whether I
might be better off using a third party report generator. Any suggestions
would be very much appreciated, especially anything that doesn't cost money
(my bosses are reluctant to pay much for this). I am using VS2008 Standard
Edition so anything already included in that would be good.
TIA
Phil.