Skip to content

Column displaying value of a third table with fusion table between them #269

Answered by erpic-ru
gynl asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! in your case you can use simple "Select" function in Code section in Device table:

= : select(table: 'attribution'; field: 'user_id'; where: 'device_id' = #id; where: 'date_end' = ""; )

also you should recalculate Device table manually or automatically. For example in action code on add, edit and delete in Attribution table (field device_id):

a1= :reCalculate(table: 'device'; where: 'id' = $#nfv)
ch1= :reCalculate(table: 'device'; where: 'id' = $#onfv)
dl1= :reCalculate(table: 'device'; where: 'id' = $#onfv)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gynl
Comment options

Answer selected by gynl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Code Features of codes
2 participants