Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transaction syntax
Message
De
13/04/2004 12:03:35
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
13/04/2004 10:29:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00894208
Message ID:
00894449
Vues:
8
><snip>
>Hi Nancy,
>
>Do I need to include llOK evaluation for the VW_CHILD tableupdate?

Usually I set llOK = Tableupdate, yes. But in the example code, no, because the LOCAL statement initializes it to false.

>
>
>>local llOK
>>begin transaction
>>  if tableupdate(.t.,.t.,'vw_child') && do I need llOK here?
>>     llOK = tableupdate(.t.,.t.,'vw_parent')
>>  endif
>>if llOK
>>  end transaction
>>else
>>  rollback
>>  tablerevert(.t.,'vw_child') && Or do something to fix the problem
>>  tablerevert(.t.,'vw_parent') && Or do something to fix the problem
>>endif
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform