report templates

(4 posts) (2 voices)
  1. Sec, Member

    Hi, is there any idea to generate templates for reports ?
    What I'm looking for is a way to print content of records
    and graphs into an A4 sheet in a formatted manner. Each
    record is one sheet.


  2. myDBR Team, Key Master

    To handle the more precise result set formatting inside a page you may want to embed the result sets in a structure using dbr.purehtml. The structure around the result sets can be a table or a div.

    To handle page brakes for your records, define a css style for a hr element and then include that in your report using dbr.purehtml.

    @media print
    hr {page-break-after:always}

    Your browser will then handle page brakes when printing.
    myDBR Team

  3. Sec, Member

    You don't have an example ?
    (something like an invoice form)


  4. myDBR Team, Key Master

    It really depends how complex invoice form you wish to produce. Utilizing dbr.purehtml commands (both embedded and inline) with some custom css allows you to format your output really quite freely.

    Wiitout any formatting myDBR lays out the report objects best suited for the device it is used on (desktop browser / mobile device). You can also force it to use specific layout using dbr.purehtml & css combo.

    myDBR Team


You must log in to post.