Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace all for NOT WORKING
Message
De
03/11/1999 09:17:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00285991
Message ID:
00286066
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform