Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding to COM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00994523
Message ID:
00994832
Vues:
16
>>Take a look in Download # 9315 to see if this hels.
>
>Thanks. I took a look at it, but it won't force any commands to run while a query is executing. I had also tried creating a timer in Windows using SetTimer and handling it with GetMessage. Then destroying it with KillTimer. The same thing happens. The timer always gets a lower priority than the executing query. It looks like I'll have to redesign the way I'm trying to do things.
>
>Thanks anyway.
>Chad


You can create a UDF that can be used in the query to animate Your control. Something like:
n_animate = 0

SELECT ...., MyFunc(reference_to_control_to_be_animated) AS Dummy .....

FUNCTION MyFunc(oControl)
  n_animate = n_animate + 1
  IF n_animate % 100 = 0 && Run at every 100 records
     oControl.Animate()
  ENDIF

RETURN ""
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform