Hi,
I've created a web page that uses Evo HTML to PDF Converter. The web page pulls data from a SQL Server Database, exports it to the webpage using an XSL file and the Evo program exports that webpage into a PDF file.
The data pulled from the database is grouped by Dates, and then by Location. From there it is ordered by times.
For each date, I have put in a
Code:
table width="100%" style="font-family: Calibri, Arial; page-break-after:never">
so that each page has a brand new date. The date is then repeated on the following pages depending on how many locations and times there are.
Under each location, there can be as many as 10 different times.
What I want to happen, is if the whole Location group (i.e. all the data - ordered by time - doesn't fit on the page that it is currently on, it will automatically push that location onto the next page.
I'm using a
Code:
<xsl:choose>
<xsl:when test="position() = last()">
in order to check if its the last page of the document so that the
Code:
table width="100%" style="font-family: Calibri, Arial; page-break-after:never">
won't add an extra blank page after all the data has been exported. I'm thinking there would be some code similar to this that would do a similar job??? Help greatly appreciated
