Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace All while not plStop
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00672137
Message ID:
00672628
Vues:
9
Nadya,

>So, I have something like this
>ON ESCAPE plStop = messagebox('Are you sure you want to stop replace process?,36,'Stop process')=6
>
>So, user can hit ESC and the process would be stopped.

I really wonder about allowing this. I think you have a huge potential to really hose your database by allowing partial commit of a table wide change. If the replace has finished half way through the process when it's interrupted, are the changed records still valid? are the still unchanged records valid?

Then you mention that other replaces are also involved, what if 2.5 out of 4 replaces complete?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform