Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Begin Transation e TableUpdate
Message
From
27/11/2002 07:28:32
 
 
To
27/11/2002 06:41:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00726899
Message ID:
00727491
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform