Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress Bar
Message
 
To
25/03/2003 01:09:39
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00769590
Message ID:
00769626
Views:
25
If you dim your recordset withevents, then you can use the fetchprogress event to build your progress bar... e.g.
Dim WithEvents rs As ADODB.Recordset

Private Sub rs_FetchProgress(ByVal Progress As Long, ByVal MaxProgress As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
  Debug.Print Format(Progress / MaxProgress, "0%")
End Sub
>Dear All,
>
>After I sent a batch of SQL command to SQL Server, Is it possible to get a progress bar when the command is executing?
>
>Thanks
>Aston
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform