If(
_contEdit,
{},
LookUp(Contracts, Gallery1.Selected.ID = ID, contractType)
)
If(
_contEdit,
{},
LookUp(Contracts, Gallery1.Selected.ID = ID, contractType)
)
@gcmfaizan Yes, that was one of the issues... And I did see my mistake seconds after I posted this question.
But, I was making a mistake on my Lookup(). I had my other list set as the data source and not the built collection.
Sometimes it helps to write the question out to find the answers! Cheers
@Hack-7 you are doing right but you do it vise-versa do it like this:
If(_contEdit, LookUp(Contracts, ID = Gallery1.Selected.ID, contractType), {})
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.
Thanks!
WarrenBelz
146,670
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional