Hi,
I am trying to generate a report using a table which get's its data out
of a mysql database. This report needs to be printed. Each page of the
report (when printed) needs to have a running total at the bottom. The
problem I have is this:
It is impossible to determine how many rows will fit on each page, as
every row is a different height (depending on the length of the data in
the database) and so I don't know where to put my sub-totals and page
breaks. Is there anyway I can determine the number of pixels between
two points on a page? Or determine the height of a row in lines? I
don't know if javascript is the best way to do this, but I can't think
of any other way. any help would be greatly appreciated.
Thanks!