Skip to main content
Question

concat a lookup field returns id fron a third linked table instead

  • June 10, 2026
  • 2 replies
  • 8 views

shasta
Forum|alt.badge.img

hi all, i am sure this should be easy and i cannot get it to work

 

i have a products table {product id} and {product name}

a menu table which pulls the product name using the product id

and an orders table which lookups the product name from the menu

 

i am then trying to concatenate in orders the product_name and qty into one string

 

{products}&" ("&qty&")"

{products} here is a lookup field

 

i’m expecting Bread(1)

but instead get 2(1)

 

2 is the product id

 

i’ve tried formula, arrays and rollup function

 

thank you

2 replies

TheTimeSavingCo
Forum|alt.badge.img+32

Could you provide screenshots of your tables?  I tried to recreate it but aren’t quite sure how the ‘Menu’ table works

 


---

Off the top of my head, you could try:

  1. Adding a lookup field in Menu to grab the product name, and then in Orders add a lookup field to display that lookup
  2. In the Products table, change the primary field to be the product name instead of the product ID
  3. In the Menu table, set it to display the Product Name field instead of the Product ID field

     


shasta
Forum|alt.badge.img
  • Author
  • New Participant
  • June 10, 2026

thank you, iot is already referencing the product name  and the website is setup with primary keys so don’t want to mess around with changing these

products

menu 

order_items