dimoss
Well-Known Member
Hi,
I have one list where I use two fields ('ui', 'dr') to create pairs.
For example in two records I can make the pair as follows:
Record 1: ui = M1, dr = M2
Record 2: ui = M2, dr = M1
What I want to achieve is whenever I delete a record to have a query to run and look for the 'ui' value on 'dr' field and make it NULL
In the above example if I delete Record 2 then in Record 1 the 'dr' value should be updated to NULL
The same also when I update Record 2 changing 'dr' value having a query to run and look for 'dr' value on 'ui' field and make the 'dr' value on Record 1 = NULL
Thanks
I have one list where I use two fields ('ui', 'dr') to create pairs.
For example in two records I can make the pair as follows:
Record 1: ui = M1, dr = M2
Record 2: ui = M2, dr = M1
What I want to achieve is whenever I delete a record to have a query to run and look for the 'ui' value on 'dr' field and make it NULL
In the above example if I delete Record 2 then in Record 1 the 'dr' value should be updated to NULL
The same also when I update Record 2 changing 'dr' value having a query to run and look for 'dr' value on 'ui' field and make the 'dr' value on Record 1 = NULL
Thanks