Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recorcount command locks VB
Message
From
03/01/2001 17:09:00
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Recorcount command locks VB
Miscellaneous
Thread ID:
00459128
Message ID:
00459128
Views:
59
HI,
I need to know the number of records that are stored into an Access table. The data is on a cd-rom and has something like 500 000 records. I use a progressbar to show the user the progress of the process. I need to know the Max value for the progress bar. For that, I use the AccessRst.RecordCount(Access Ado recordset previously created). My problem is that the PC is frozen for 15-20 minutes, the time it takes to VB to read the entire table. Usually, I would use doevents to regain the control of the PC but it is not possible with this case.

Can you help me ?

Thank you,
Christian Cote
Next
Reply
Map
View

Click here to load this message in the networking platform