Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OpenRecordSet
Message
De
19/02/1999 05:45:05
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
OpenRecordSet
Divers
Thread ID:
00189193
Message ID:
00189193
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform