Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPLACE command issue
Message
De
07/07/2004 06:19:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
REPLACE command issue
Divers
Thread ID:
00921316
Message ID:
00921316
Vues:
64
Hi all ...

There is a simple section of code in my application, similar to that shown below, which is causing me some headaches. The great majority of the time, this code runs correctly, however, occassionally, it seems as though parts of the REPLACE command don't execute, wheras other parts do.

For example, in the code below, the nCalCount field will be updated, but the lCalVerify field will not be !!

***********************************************************

If llLoop
Replace ;
lCalVerify With .T.,;
nCalCount With Loop.nCalCount + 1,;
nWorkID With 0 ;
IN Loop
Else
Replace ;
lCalVerify With .T.,;
nCalCount With EQUIP.nCalCount + 1,;
nWorkID With 0 ;
IN EQUIP
Endif

***********************************************************

As I said, this error only occurrs periodically, and I cannot recreate it, however, we know that it does occur.

Does anyone know of anything which may cause this type of behaviour in VFP 8.0 ?? We have a client who is using a version of our software developed in VFP 7.0, and they have never reported this problem. This section of the code in the VFP 7.0 version is identical to that in VFP 8.0.

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform