G
Gerald
I have 2 tables a Property table and an Ownership table.
My Row source which populates the detail section of the
form is SQL which joins the 2 tables by the "Prop ID"
and "Entity ID", respectively. Fields from both tables
appear on the form.
The form is set to Allow Deletions.
In the Property table the "Prop ID" is a Primary Key. When
I delete a record, if the "Entity ID" in the Ownership
table in the is a Primary Key or is Indexed (no
duplicates), the respective records from both tables are
deleted.
If the "Entity ID" in the Ownership table is NOT a Primary
Key nor is Indexed only the record in the Ownership table
is deleted, which is what I want.
Why is this happening?
How can I have the "Entity ID" in the Ownership table a
Primary Key or is Index and delete only the record in the
Ownership table?
I really need the "Entity ID" in the Ownership table to be
a Primary Key or Indexed (no duplicates).
Thank you for your help,
Gerald
My Row source which populates the detail section of the
form is SQL which joins the 2 tables by the "Prop ID"
and "Entity ID", respectively. Fields from both tables
appear on the form.
The form is set to Allow Deletions.
In the Property table the "Prop ID" is a Primary Key. When
I delete a record, if the "Entity ID" in the Ownership
table in the is a Primary Key or is Indexed (no
duplicates), the respective records from both tables are
deleted.
If the "Entity ID" in the Ownership table is NOT a Primary
Key nor is Indexed only the record in the Ownership table
is deleted, which is what I want.
Why is this happening?
How can I have the "Entity ID" in the Ownership table a
Primary Key or is Index and delete only the record in the
Ownership table?
I really need the "Entity ID" in the Ownership table to be
a Primary Key or Indexed (no duplicates).
Thank you for your help,
Gerald