Relational database, call parent globally

Relational database, call parent globally

  
I have a database where A has many B's
Every time I need to call the A that B belongs to I say this
GetA(BShow.Record.A.Id).A.attribute

and this is what I do inside of each widget when I need to call out the attributes of A. Is there a way I can say variable = A. then everytime I need to get an attribute I don't need to make a separate call?
Hi Kevin,

I was going to say you needed to add a join to the A entity on the query that is filling the BShow. But looking at your record of your expression it looks like you already did.
Why don't you just use BShow.Record.A.attribute ?

Regards,
João Rosado