Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OpenRecordSet
Message
From
19/02/1999 05:45:05
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
OpenRecordSet
Miscellaneous
Thread ID:
00189193
Message ID:
00189193
Views:
53
Anybody can help me .. how to add Progress bar and also add DoEvents()when the OpenRecordSet command run. because The statement below wasting my time to wait ..

Dim RS as Recordset
Dim DBDS as Database
Dim QdfTrap as QueryDef
Dim txtDateTrap as Date

strParm = "PARAMETERS [txtDate] DateTime; "
SQLTrap = strParm & "Select * from Sales where Sdate = " & "#"& txtDate.Text & "#" & " Order by pl_no, line, cproc, worker"
Set QdfTrap = DBDS.CreateQueryDef("", SQLTrap)
Set PrMeter = QdfTrap2.Parameters!txtDate
txtDateTrap = txtDate.Text
PrMeter = txtDateTrap
Set RS = QdfTrap.OpenRecordset(dbOpenDynaset)

thanks very much for any advice or suggestion

Best Regards
Winan
Next
Reply
Map
View

Click here to load this message in the networking platform