TorrediPisa
Programmer
Hello everyone.
I have created two Tables (CUSTOMERS and ORDERS) using DAO.
CUSTOMERS ORDERS
ID ID
NAME ID_CUSTOMER
ADDRESS
On CUSTOMERS I have created ID As Primary Key by the following:
db.Execute "CREATE UNIQUE INDEX IDX ON CUSTOMERS ID WITH PRIMARY "
Now I want to link ID of CUSTOMERS with ID_CUSTOMER of ORDERS Table (Cardinality 1 to Many) with the Referential Integrity and with the Cascade Delete Related Records set.
How can I do this by the db.execute?
Thank You for yr kind help.
Best Regards
I have created two Tables (CUSTOMERS and ORDERS) using DAO.
CUSTOMERS ORDERS
ID ID
NAME ID_CUSTOMER
ADDRESS
On CUSTOMERS I have created ID As Primary Key by the following:
db.Execute "CREATE UNIQUE INDEX IDX ON CUSTOMERS ID WITH PRIMARY "
Now I want to link ID of CUSTOMERS with ID_CUSTOMER of ORDERS Table (Cardinality 1 to Many) with the Referential Integrity and with the Cascade Delete Related Records set.
How can I do this by the db.execute?
Thank You for yr kind help.
Best Regards