ahh I had this problem too. Since I was printing it I set the font to
a 10 point font on the print style sheet and printed it out to see
where the page breaks were. I this I got like 27 or 28 rows. I did the
looping like mentioned before. After I hit 26 rows I redid the column
headers. I took awhile and I don't have the code in front of me but if
needed I could dig for it and find it.

I think a also had page break in the css to ensure it went to a new
page when I wanted it.

if browsers supported things correctly one could use something like this.

<table border = "1">
<thead>
<tr>
<td>This text is in the THEAD</td>
</tr>
</thead>
<tfoot>
<tr>
<td>This text is in the TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>This text is in the TBODY</td>
</tr>
</tbody>
</table>

and the header and footer are to print on every page. but until then
try the looping and hope the data doesn't change much and it junks of
the layout.


recommended book (they discuss this) http://www.zeldman.com/dwws/

and on the excel note you could do that and then let the user do what
ever they want to it.


Way too much info...
John

On 5/9/07, Kevin <[EMAIL PROTECTED]> wrote:
I don't want to have multiple pages.  It is just a three page report.  Perhaps 
this is not possible and I should just export to excel.


--------------------------------------------------------

Kevin Fricke
Lone Star Media
[EMAIL PROTECTED]
Office: (512) 371-1822
Mobile: (512) 626-0528
Fax: (512) 597-0909
Toll Free: (877) 791-7083

http://www.lonestarmedia.com




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Skipper Pickle
Sent: Wednesday, May 09, 2007 10:10 PM
To: 'Dallas/Fort Worth ColdFusion User Group Mailing List'
Subject: RE: [DFW CFUG] html table printing

Kevin Fricke wrote:
> Is there not a dynamic way to achieve this?

Are you using Dreamweaver?

If so, then have DW make you a Master/Detail page set (Insert > Data Objects
> Master Detail Page Set (create a recordset on the page first).

This wizard will create a couple of pages. On the master page, you should
end up with paging navigation, the header tables that you want, and the
number of rows from your specified recordset.  Users will be able to click
Next, Previous, First, and Last to navigate the pages of the recordset.  You
will probably end up with something that isn't quiiiite what you want, but
you'll be able to see the general idea of what you're going after.  Then you
can use that same Data Objects submenu to find the different parts you need.

These data object behaviors are also in the Server Behaviors panel, and
that's where you go if you want to modify them.

(All of that is referencing the DW CS3 interface. In DW8, the Data Objects
submenu is called Application Objects.)

Hope this helps more.  If you aren't using Dreamweaver, i got nothing. ;)

---
Skipper Pickle
972.978.5807



_______________________________________________
Reply to DFWCFUG:
  [email protected]
Subscribe/Unsubscribe:
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
  www.instantspot.com/
  www.teksystems.com/

_______________________________________________
Reply to DFWCFUG:
  [email protected]
Subscribe/Unsubscribe:
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
  www.instantspot.com/
  www.teksystems.com/


_______________________________________________
Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.instantspot.com/
 www.teksystems.com/

Reply via email to