Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Magic Mouse
Message
From
08/02/2002 08:56:24
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00617107
Message ID:
00617262
Views:
27
If he sets autoyield to .t., then won't his activex (if any) stop functioning correctly? I had to set autoyield to .f. for the oncomm event to fire in the mscomm32 control. From the VFP help:

The AutoYield property should be set to false (.F.) when a form contains an ActiveX control.

I'm not clear on the autoyield property, but I HAD to set it to false for the oncomm event to fire.
Tracy

>Hi!
>
>David is right. For me it looks too like internally VFP use DOEVENTS command to force odometer window and status bar updated. So in addition to mentioned commands try to use also SET STATUS BAR OFF. I recommend also to SET NOTIFY OFF. Or just update to VFP7 where DOEVENTS command works quickly (it is fixed now).
>
>Did you tried to set the _VFP.AutoYield to .T.? This have something to events processing too. I guess if it will be set to .T., VFP will not cal DOEVENTS command internally, and as a result will work more quickly during query running.
>
>If you still have no luck to fix the problem using above suggestions, you can try the view with FetchAsNeeded option. In such mode view is opened with first 100 records and then you can manually force downloading of the rest records in the loop, displaying the progress by using your own form. This might require some programming though.
>
>Hope this helps.
>
>
>>SET TALK ON/OFF, SET ESCAPE ON/OFF have no effect on the phenomenon, a moving mouse speeds up the query.
>>
>>The CONNECTION is ASYNC, if that is relevant.
>>
>>This is definitely one of the craziest things I have seen.
>>
>>>Alan,
>>>
>>>This might be related to the reason the fastdoevents article over on my website works.
>>>
>>>Does the query run fast without mouse motion if you have SET TALK OFF?
>>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform