General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Table updates using remote views
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only