Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlar transações usando CursorAdapter
Message
From
06/11/2003 11:03:27
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
 
 
To
06/11/2003 08:17:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00847021
Message ID:
00847165
Views:
18
>Pessoal,
>
>Como Controlar transações usando CursorAdapter?...

de forma simples basta definir o tipo de transação p/ controle pelo VFP e não do Servidor
= SQLSETPROP(nID, 'TRANSACTIONS', 2) && MANUAL
XRETORNO = TABLEUPDATE(1,.T.,tabela)
IF XRETORNO
= SQLCOMMIT(nID)
ELSE
= SQLROLLBACK(nID)
ENDIF

[], s
Peter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform