Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serious REQUERY() Bug Update LP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00816081
Message ID:
00816252
Vues:
35
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform