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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only