
I have a dropdown field in my edit form which connects to a SharePoint list called BrokerAccount. The SharePoint list has two columns, 'ACCOUNTNUMBER' and 'Account Name'.
The dropdown field points to ACCOUNTNUMBER and the Data card is named DataCardValue_AccountNumber
I want to create a field which populates the 'Account Name' based on user selection of the ACCOUNTNUMBER dropdown.
I inserted a Text label, and under the Text property I inserted the following syntax:
LookUp(BrokerAccount, ACCOUNTNUMBER = DataCardValue_AccountNumber, 'Account Name')I get an error message saying "Incompatible types for comparison. These types cannot be compared: Text, Control."
I have ensured that both fields are text fields, so I'm not sure how to proceed. Any ideas?
Hi @JemmaD
Try this formula
LookUp(BrokerAccount, ACCOUNTNUMBER = DataCardValue_AccountNumber.Selected.Value, 'Account Name')
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.