Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple table updates error using remote views
Message
From
17/06/2002 06:41:20
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Multiple table updates error using remote views
Miscellaneous
Thread ID:
00669122
Message ID:
00669122
Views:
55
I am trying to update 7 tables by using the following command:
BEGIN TRANSACTION
   IF TABLEU(.T.,'A') .AND.TABLEU(.T.,'B') .AND.TABLEU(.T.,'C') .AND. .... 
      ENDTRANSACTION
   ELSE
      ROLLBACK
   ENDIF
If the error is found on the first table, all tables rollback. But if the error is on the 3rd or higher table, the rollback works only on tables after the error. The table 1 & 2 get commited. Can anyone explain why this happens & how to work around it ?

THANK YOU IN ADVANCE

Raz
Next
Reply
Map
View

Click here to load this message in the networking platform