Forum Discussion

Victor_AguirreV's avatar
Victor_AguirreV
Regular Visitor
2 years ago
Solved

Related function not returning any values.

Hey guys!   This is my first post (of many hopefully) here, and firstly thanks for any help you can give me!   I have 2 tables, one called All Trx, and another one called  All CBs. They are relat...
  • Daniel29195's avatar
    2 years ago

    Victor_AguirreV 

     

    if you are creating a column in the table on the 1 side of the relationship, and getting data from the table on the many side of the relationship, you need to use relatedtable.


    if you are creating a column in the table on the many side of the relationship, and getting data from the table on the one side of the relationship, you need to use related.

     

     

    ( keep in mind, that relatedtable returns a table not a scalar value,  so in order to get data from using relatedtable, 

    you need to then using an iterator over relatedtable . ) 

    hope this helps .

     

     

     

    If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
    It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠