Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace all for NOT WORKING
Message
From
03/11/1999 09:17:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00285991
Message ID:
00286066
Views:
26
>Hi,
>
>I've just set up my first VFP APP and installed it on site(Network of 3 PC's), and its working great, apart from one area I cant understand.
>
>I have one block which is as follows:
>
>SELE CMA
>REPLACE ALL CMA.CMA_DOCK WITH 'P' ;
> FOR ;
> CMA.CMA_DOCK <> 'P'
>
>(CMA is a table. This is done after a print run to flag all records as having been printed. I also have a Tag for cma_dock)
>
>Now, on my own local PC, this works perfectly.
>On the Network, the cma_dock IS NOT REPLACED, and I cant understand why.
>
>
>In my normal screens, I have optimistic buffering on and use updatable views and run TABLEUPDATE().These work fine.
>
>The above is in a separate screen with just about no other code.
>
>I wonder can anybody throw any light on this ?
>
>Regards,
>
>Gerard

If this is a multi-use scenario, replae your REPLACE ALL statement with a SCAN loop for the reasons that Bruce pointed out.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform