Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Begin Transation e TableUpdate
Message
De
27/11/2002 07:28:32
 
 
À
27/11/2002 06:41:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00726899
Message ID:
00727491
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
O TableUpdate vai retornar .F. se por acaso houver um erro na hora de atualizar tabela. Se isso acontecer, a tabela não terá sido atualizada. Afinal, o tableUpdate não funcionou!!!
BEGIN TRANSACTION

m.llRetorno = tableUpdate(.T.,.T.,[minhaTabela])
IF NOT m.llRetorno
     ROLLBACK
     = TABLEREVERT(.F.,[minhaTabela])
ELSE
     END TRANSACTION
     FLUSH
ENDIF
Espero poder ter ajudado...
Pablo Márcio de Oliveira

Inside the scream is silent, inside it must remain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform