Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table updates using remote views
Message
From
14/06/2002 11:59:18
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:
Table updates using remote views
Miscellaneous
Thread ID:
00668596
Message ID:
00668596
Views:
67
I am trying to update a 2 tables (table1, & table2) by using the remote views (rv_table1 & rv_table2) as shown in the folloing code:

*-- Sample code
BEGIN TRANSACTION
IF TABLEU(.T., .T.,"rv_table1") .AND. TABLEUPDATE(.T., .T.,"rv_table2")
END TRANSACTION
ELSE
ROLLBACK
ENDIF
RETURN
*-- End

I am using buffering mode 5. If any one of the two table updates fails, I do get a ROLLBACK but data does get written to the underlying tables.
I use shared connection on the views.

Am I doing something wrong, any suggessionsssss..., please let me know..

Thanks!
Raz



The table1 & table2 are remote views.
Next
Reply
Map
View

Click here to load this message in the networking platform