View Single Post
  #2 (permalink)  
Old June 10th, 2004, 08:53 PM
mega mega is offline
Friend of Wrox
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega

Why not just insert breaks like VbCrLf or VbTab between queries?
For i = 1 To objRS.Count 'For as many payslips you got
  If i Mod 3 = 0 Then ' print for every 3
    Response.Write("<script> & _ 'Not sure this will work...
                      window.print() & _
    Response.Flush 'write to the client
    Response.Write(objRS("PaySlip") & VbTab) 'your payslips
  End If
Something like that..

 - mega
Reply With Quote