How to display data from another table? Template Code

I have a table with two tabs related to each other, "People Table" and "Services Table".

Pedro_steffens_0-1700853219234.png

When I generate the Service PDF, it shows the person's ID, but I would like to display other data, such as name and telephone number.

Model Template code:


DATA SERVICE/TIME: << [DATE_TIME] >>

NAME: ???

SUBJECT: << [SUBJECT] >>

ATTENDANT: << [ATTENDANT] >>

 

 

Solved Solved
0 5 230
1 ACCEPTED SOLUTION

Are you pulling child record in PDF?

If yes, your template expression is wrong. 

View solution in original post

5 REPLIES 5

Hi @Pedro_steffens 

You can use a dereference expression. Try: 

NAME: <<[ID_PEOPLE].[NAME]>>

For more information:

Dereference expressions 

I've tried

NAME: <<[ID_PEOPLE].[NAME]>>

With Start Expressions I think it's the way, but I can't seem to execute the:

<<Start: Select...??? <<End>> 

 

 

I can do it using a virtual column and lookup expression, thk

Are you pulling child record in PDF?

If yes, your template expression is wrong. 

<<Start: Select(PEOPLE[ID], [ID] = [_THISROW].[ID_PEOPLE])>>

<<[NAME]>>

 

Thank u

<<End>>

Top Labels in this Space