Hi All,
Newbie question sorry, so please be gentle.
I've got two lists and I think I'm trying to "set" a variable instead of hard coding the ID.
1. Sites list - fields = ID, Title, Code
2. Main list - fields = ID, Title, Sites (lookup)
Main list has a lookup field using the data from Sites list. I want to use the Sites list ID from the lookup field selected in the Main list. I've circled the ID field currently hard coded but need the ID value from whichever Site I select.

Thank you in advance