Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE command issue
Message
From
07/07/2004 06:19:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
REPLACE command issue
Miscellaneous
Thread ID:
00921316
Message ID:
00921316
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform