Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Begin Transation e TableUpdate
Message
From
26/11/2002 10:44:52
 
 
To
26/11/2002 08:11:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00726899
Message ID:
00727028
Views:
13
Gracias Hilmar

Mas tenho mais uma dúvida

Por favor analisem este código e comentem o que está bem e o que está mal .
Muito obrigado
BEGIN TRANSACTION

Select tabela1
=TableUpdate(1,.T.)
FLUSH

Select tabela2
=TableUpdate(1,.T.)
FLUSH

Select tabela3
=TableUpdate(1,.T.)
FLUSH

IF TableUpdate(.T., .F., "Tabela1") ;
     and TableUpdate(.T., .F., "Tabela2") ;
     and TableUpdate(.T., .F., "Tabela3")
  END TRANSACTION 
ELSE
  ROLLBACK 
ENDIF
&& Pergunto este código está certo ?
&& Pode ser melhorado ?
&& Muito obrigado


Pedro Silva

world is wonderful with your help .

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform