Ricky
|
| Posted: 09/11/2004, 1:41 PM |
|
Sorry I put the title in Spanish - by the way, I´m using ASP, SQL, IIS 
Hi, I´m developing a Report Manager in ASP, but the reports are build in .pdf, it work fine. The only "trouble" is "how can I print the heading of a report when it´s more than one page".
I´m not "A Programmer" , the truth is that I´m starting in this.... The solution may be this:
Develop a script that count how meny records the query have (QTotal), load the page based in how many records I told him to put in each page (example "QPrint =10"), send the first page to print ("QTotal=QTotal-QPrint"), then if "QTotal>0" print the next page, else go to "finished.asp" or display a message "finished".
Why "print a page" and not "print the query" the script should load a .asp page, so he can print the logo, date, etc, etc of the report. I beleave that something like this can be done with java, but as I told, I´m not a "Great Programmer" ..... there´s any in this "Great Forum" who dares to take the challenge .
The "solution I´m using for .pdf is neevia, it loads the .asp file based in the url and convert it to .pdf . Dont botter about this detail, you can even ignore it , if it prints.. it will be fine... the case here is that the user don have to manually navigate tru the pages and manually print each of them...
|
|
|
 |
|