I THINK I have set up correctly. Combobox is populating the necessary fields. I have set up MULTIPLE different DefaultSelectedItems options with differing levels of success.
I have used for DefaultselectedItems
Filter(Accounts,ACCOUNT_NAME2 = Account_Name2.Text)
Usually, I have the same editform1 for New or Edit and in Default I use something like
If(EditForm1.mode = FormMode.New, “ “, ThisItem.XXXXXX)
But with Combobox and DefaultSelectedItems.... I don't seem to have the chance of differencing between New and Edit.
I cant watch another yourtube trying to see a solution. Help please!
Solved! Go to Solution.
If(!(EditForm1.Mode = New), LookUp(Accounts, ACCOUNT_NAME2 = Coalesce(Parent.Default, Account_Name2.Text)) ...... Sorted it.
I really have no idea how you fixed. I will have to read up now what " If(! " means of does.
Thanks for your help.
The exclamation symbol is a logical NOT shortcut. So in that case, (EditForm1.Mode=New) will evaluate to either true or false. The NOT ! will negate it to false or true respectively. Based on that...the rest of the formula evaluates.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.