Solved

print a big recorset

Posted on 2000-03-29
1
174 Views
Last Modified: 2010-05-02
I have a big recordset that retrieves many data from a few tables of my database.
When I select the first and last client of the client table from whom I wish to print invoices the program stops responding.
When I select just a few clients it prints allright.
I'm using a matrix printer and VB 6.0 with the print object.
Is the buffer of the printer to short for the amount of data?
Is the recordset to big?
Should I put those records in a temporary table and print each of a time instead of a recordset?

Thanks
0
Comment
Question by:asimoes
1 Comment
 

Accepted Solution

by:
rsaicrag earned 100 total points
Comment Utility
Try using.. "Transaction"
BeginTrans,CommitTrans or you can try putting it in Type Record or Collection.

A Lot of reasons why your program stops responding it's because maybe you have a lot of procedures or your code has lots of workaround or you never closes an object "Set myvar=nothing" , try to simplify your code...
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now