0
relation n:m
Hello,
I have 3 tables in relation N: M. Customer, Contact, Person.
Contact as two link composition to customer and person.
In Contact to look customer and personn.
If I make a mistake and would like to remove the relationship with person with a button I thought to do:
personn.id:=null
but that does not work.
Or I do it when I am in the contact table that I can deselect person or customer.
Thank you in advance.
Robert
2 replies
-
I have a test database with Table1 and Table2 and Table2 is a composition table. The following code works to unlink an individual record from Table2 that is linked to Table1. It is attached to a button in Table2.
let myRecord := this;
myRecord.(Table1 := 0)
-
Thank you very mutch
work like a charm
Have a nice day.
Best Regards
Robert
Content aside
- 5 yrs agoLast active
- 2Replies
- 1508Views