Related records in a variable

Hello,

I’m trying to set all related records for the current primary record in a variable.

table 1 = contacts
table 2 = contacts_join

cont_ID = cont_join_rel1

If I use this code it shows only the first record. It should be simple, probably I miss something :roll:

Hi irenem,

Have a look at the Database Manager node where there are functions to let you work with a foundset

Which functions you use will depend upon how you want to work with the related data

Also, these related posts may help you:

Cheers
Harry[/code]

No, I won’t feel stupid :shock: