Visual Studio 2008 and Reports

M

Marco Olimpi

Hi,
I'm looking for a book that help using the build-in report function of
Visual Studio 2008 (not Crystal Reports).
Any suggestions?

Thanks

Marco
 
V

vanderghast

You can start with System.Windows.Forms.PrintPreviewDialog with its
Document property set to an object of System.Drawing.Printing.PrintDocument
(which has nice events like BeginPrint and PrintPage, ... and don't forgot
to explore the second argument of those events, they are interesting).

The biggest problem I experienced is not using those (the help is fine), but
rather building a system which can "continue on the next page". I mean, I
don't want print "a", then print "b", and so on, but rather if I am inside a
"group of data" when the page break occur, (have to check , each time, if
you have enough room left to print anything), I have to start with the next
page with some headers being repeated and only then, continue the execution
of the code-pinting the data WHERE the page got ejected. Sure, I was already
having some experience with graphics in general, (a printed line of text
*is* a piece of graphic) so that may be an additionnal problem if that is
also new stuff, and I suppose you should start there, if this is new to you.
Many books cover graphics on WinForms, in C#, use your favorite
book/reference. After all, you will be using PringPageEventArgs.Graphics a
lot.


Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top