>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