Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serious REQUERY() Bug Update LP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816081
Message ID:
00816252
Views:
33
Hi Garret, I didn't say if an error handler was in effect the problem did not occur, I said that if are running from the development environment and use debug or trace windows that introduce wait states, the error will not occur. The error handler and tests for the failures are fine, you just cannot step through the code and actually watch it fail.

Today Walter suggested using DOEVENTS() to introduce a wait state. I am going to research this further on Monday before we make a final decision to can VFP8. Something like

FUNCTION vRequery
PARAMETERS lcAlias

DOEVENTS()
IF !REQUERY( lcAlias )

RETURN REQUERY(lcAlias)

Just to see if this works. However, I would still be concerned that it will not run 100%. Then the key would be that when REQUERY() returns empty
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform