Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete routine , refreshing the form
Message
De
05/03/1999 19:05:08
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
05/03/1999 13:22:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00194554
Message ID:
00194740
Vues:
23
You're welcome...from this humble foxpro programmer from New Mexico, US :)
That seems to follow. My code example was how I'd approach the original bit of code you posted.

The general point is that you only END TRANSACTION if the transaction can be successfully (if the tables are updated). Otherwise, you ROLLBACK the transaction. Then you're left with the problem of what to do with the data in the buffers.

>thanks for helping this humble foxpro programmer from holland,
>
>so the routine woult then be
>
>if !succes
>rollback
>for each atables in thisform.atables
>tablerevert(.t.,atables)
>endfor
>
>david
>
>ps thanks for helping me out
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform