I have 2 tables.
Recipes and Combi (see example)
Combi looks like this:
CombiID, Combi Name,Color,RecipeID1,RecipeID2,RecipeID3,RecipeID4 etc
Recipe looks like this:
RecipeID,Recipe,IngredientID1,IngredientID2,IngredientID3,IngredientD4 etc
I would like to see the recipes listed in IngredientID1, Ingredient2, Ingredient3 etc when I am on Combi-1.
I will now create a label containing
LookUp('kitchen.combi', CombiID = ThisItem.CombiID,ReceptID1)
I call that label lbl_ID1 and make it invisible
Then in the label what I have to show I do
LookUp('kitchen.recipes', RecipeID = Value(lbl_ID1.Text),Recipe) in the text field
This works but can't do this in 1 command without first creating an lbl_ID1.