Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use sing the view vs using the table directly
Message
From
17/06/2002 08:12:43
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00669121
Message ID:
00669143
Views:
14
I am using remote views and having problem when updating multiple tables which is crucial as described below:



BEGIN TRANSACTION
IF TABLEU(.T.,'A') .AND.TABLEU(.T.,'B') .AND.TABLEU(.T.,'C') .AND. ....
ENDTRANSACTION
ELSE
ROLLBACK
ENDIF

<\pre>

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 ?

If I have known about this problem, I would have never used VIEWS, but it is too late. I am too deep in the application. If you find any answers please let me knoe too.


Raz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform