HI @WarrenBelz ,
Hope you had a nice weekend...
Yes you are correct, SPO as back-end, and I have a lookup column that I am trying to get back into my variable.
I have attached the code I am using, along with the list definitions. It runs on the submit check mark on EditForm1. "On select" Property.
First it Patches() the data to my list, then it tries to load the variable. I am wondering if I am trying to load the Var before it loads the list item. I tried setting the var and SendEmail in the "on success" of EditForm1, but it didn't fire off, Since I am patching(), not submitting(Form)
The lookup column companyName, brings the email address from the lookup list when you choose the company. Do I have to wait for the item to fully insert and save before I can pull the email address back to the Var? If so Is there a delay I need to use?
I am now trying a different route, I added the lookup list as a data source, and now I am trying to figure out how to set the variable where:
Lookup.companyName = DataCardValue9.Selected, which is the company name chosen from the dropdown in the app.
as below, but that's not happy either 😞
Set(
VarSendTo,
LookUp(MailRoomAPPAdmins,'Company Name' = DataCardValue9.Selected,'AdminEmailAddress'));
Why can't anything be easy 🙂
Thanks again for your help,
Joe