+ Reply to Thread
Results 1 to 4 of 4

Thread: Print out data on a letterhead format

  1. #1
    Barn Enthusiast Shem is on a distinguished road Shem's Avatar
    Join Date
    Mar 2008
    Posts
    303
    Rep Power
    3

    Print out data on a letterhead format

    Hi guys

    i'm going to be re-writing and classic asp application to .Net,
    now one of the functions takes a report and displays it on
    the comapnys letterhead i.e. the page has a header and footer,
    and this page prints out perfectly on a A4 page.

    If the report is longer than an A4 page, it will split the report on to
    2 pages. How i've worked this out is by counting the number of
    lines per report and splitting it up every 30 or so lines.

    Is there a better way to do this in .Net?

    Shem

  2. #2
    Barn Frequenter noFriends is on a distinguished road noFriends's Avatar
    Join Date
    Apr 2008
    Posts
    104
    Rep Power
    3

    are you using some kind of report object?

    Maybe the object has some kind of function for that?

  3. #3
    Barn Enthusiast Shem is on a distinguished road Shem's Avatar
    Join Date
    Mar 2008
    Posts
    303
    Rep Power
    3

    no i'm not, built the functions myself.

    basically all i do is count number of lines, when i reach a certain amount of
    lines i just add a footer, then add a header and then loop through the rest
    of the results until again it reaches a certain amount of lines and so the whole
    process continues.

    Shem

  4. #4
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Washington, D.C.
    Posts
    2,347
    Blog Entries
    9
    Rep Power
    19

    Since we're talking .net...you should take advantage of report objects. See this: Reports Web Site : The Official Microsoft ASP.NET Site
    jmurrayhead
    If you agree, give me rep. If my post helped you, click "Thanks".
    If you like it here...throw us a few bones to help support us.


+ Reply to Thread

Similar Threads

  1. format currency to display by thousands
    By Rebelle in forum ASP Development
    Replies: 2
    Last Post: April 29th, 2008, 10:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO