Hello all good helpers
Could anyone point me to how to go about to achieve this in AwareIM?
1. User chooses an ID on a form on BO1(got this one settled)
2. Check in BO2 which name belongs to this ID
3. Put this name from BO2 (or actually from BO1, but the same as I find in BO2) in the name attribute in the form for BO1
Challenge: can't use shortcut because I need the attr to be saved in BO1, not just show it on the form.
I'm lost, any advice would be greatly appreciated.
[SOLVED]Set attr from another BO in form without using shortcut
[SOLVED]Set attr from another BO in form without using shortcut
Last edited by lueu on Fri Nov 24, 2023 12:37 pm, edited 1 time in total.
Re: Set attr from another BO in form without using shortcut
This is if you don't have references between the BOs at all:
Update rule in BO1. Dynamic.
If BO1.Idnumber WAS CHANGED Then
FIND BO2 WHERE (BO2.Idnumber=BO1.Idnumber)
BO1.Name=BO2.Name
If you do have an established reference between BO1 and BO2:
Update rule in BO1.
B01.Name=B01.B02.Name
(BO2 is the name of the actual reference in B01).
Update rule in BO1. Dynamic.
If BO1.Idnumber WAS CHANGED Then
FIND BO2 WHERE (BO2.Idnumber=BO1.Idnumber)
BO1.Name=BO2.Name
If you do have an established reference between BO1 and BO2:
Update rule in BO1.
B01.Name=B01.B02.Name
(BO2 is the name of the actual reference in B01).
Re: Set attr from another BO in form without using shortcut
PERFECT! Just what I was looking for! Thank you so much!