Re: Report



On Mon, 15 May 2006 21:15:47 GMT, "Ivar"
<ivar.ekstromer000@xxxxxxxxxxxx> wrote:

"will be a doddle, a virtual "one liner"."

A ONE LINER!!!!! I'm half way through doing a similar thing, and I'm up to
160 lines already, and that's without the report header and footer, or the
page headers and footers.
But then again, I am working with classes and collections rather than a
recordset, with a lot more fields, and generating a print preview, and
formatting and aligning each field, while calculating page breaks and
dealing with single and multiline fields. And calculating totals and sub
totals along the way, and changing the colours of the text depending on the
fields values and I dare say some other stuff that has been lost in the code
somewhere.

Ivar, it is a profoundly good idea to separate the printing and
calculation

Ideally wrapping the actual printing in a Class that 'prints' onto an
Object that might be a Printer or a Picturebox

You'll find that the control code becomes much simpler, and the Print
Class is re-useable so it becomes stable and fully featured.

Some time ago I wrote something called gPrint.cls
( Google Groups : vb gprint "J French" )

That might give you some ideas

Normally I use a text file containing a Template and simply ram the
data into the fields which makes simple report printing very easy.


.



Relevant Pages

  • Re: Different formatting for odd/even pages
    ... I moved it back to the report header and then ... suppress the page footer from printing if Page = Pages. ...
    (microsoft.public.access.reports)
  • Re: Excel 2003 list of field codes for footers?
    ... header or footer. ... &E Turns double-underline printing on or off. ... Use a two-digit number to specify a size in points. ... complicated field codes than the 6 or 8 that Excel gives me automatically. ...
    (microsoft.public.excel.misc)
  • Re: Report
    ... 160 lines already, and that's without the report header and footer, or the ... control over everything in the report and it's all so much more fun;-) ... Tsk, tsk. ...
    (comp.lang.basic.visual.misc)
  • Page printing - margin problems
    ... there have been some printing problems related to the ... the header and footers have now moved out of the printable ... Changing the top and bottom margins does not have an efffect upon where the ... header and footer are located. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Not able to print page footer or header.
    ... >>and footer show up. ... > scaling options to work, so I can view the headers/footers in xpdf, but ... set up the virtual printer and printing to it the ... pdf docs in $HOME/cups-pdf cannot be printed because they contain no pages. ...
    (Debian-User)