borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Printing on continuous stationery)Next Topic (VB printing problem) New Topic New Poll Post Reply
AndreaVB Forum : Printing : printing problems
Poster Message
franco1
Level: Guest


icon printing problems

Hi,  i have a big problem with printing the
bill that i created in vb6.
when the print command press the printer print
only the first record from the recordset.
the recordset that i created is not refreshing
if i make second bill the printer prints the first records onlyy.but the data is saved inthe recordset.
Please helpppppp me.
thanks
miss.

16-01-2003 at 07:16 PM
| Quote Reply
Chris_871
Level: Master


Registered: 30-11-2002
Posts: 106
icon Re: printing problems

You can use requery to  refresh the Data.

for example

rs.requery


From your question what i understood is , you are printing only one record. But the data's are avaialble in the recordset.

So you can use your printing process within the loop.

Do until rs.eof
   'Write your printing code's
   ----
   ----
   rs.movenext
loop

BY
Chris

18-01-2003 at 11:02 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : printing problems
Previous Topic (Printing on continuous stationery)Next Topic (VB printing problem) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder