Hello,
I have a simple "Orders" form, based on a select query, something like:
SELECT *.tblOrders, country.tblCustomer FROM tblOrders INNER JOIN tblCustomers ON tbl.Orders.CustId=tbl.Customers.CustID
The form simply display the orders with some customers details like Country.
My problem is that when a user cancel a record from the form then not only the record in the tblOrder is cancelled but also the corresponding record in the tblCustomers. The two tables are on different databases, connected with ODBC to access (tblCustomers is in Oracle, tblOrders is in Sql server), so I cannot put foreign keys on the tblOrders.
I think the situation is very typical, but how can I tell Access which side of the JOIN expression should be without deletion? I have tried with a LEFT JOIN but the query becomes not updatable and so useless for the form.
Thanks for any help
I have a simple "Orders" form, based on a select query, something like:
SELECT *.tblOrders, country.tblCustomer FROM tblOrders INNER JOIN tblCustomers ON tbl.Orders.CustId=tbl.Customers.CustID
The form simply display the orders with some customers details like Country.
My problem is that when a user cancel a record from the form then not only the record in the tblOrder is cancelled but also the corresponding record in the tblCustomers. The two tables are on different databases, connected with ODBC to access (tblCustomers is in Oracle, tblOrders is in Sql server), so I cannot put foreign keys on the tblOrders.
I think the situation is very typical, but how can I tell Access which side of the JOIN expression should be without deletion? I have tried with a LEFT JOIN but the query becomes not updatable and so useless for the form.
Thanks for any help