Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding to COM
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00994523
Message ID:
00994832
Views:
17
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform