Dear All,
I having a problem to proceed a lookup by using a dropdown list. Details are as following:
- I have list called "TON_CompanyList"
- User firstly select Company Country then Company Name
- Based on selected "origin company name" i need to proceed lookup and bring "Vendor Code" to my app.
Details as below:
Can you please support me to sort it out?
Solved! Go to Solution.
Your formula seem fine except if the user selects the Company name, then it should not be Dropdown.Selected.ID but
Dropdown.Selected.Company or
Dropdown.Selected.Value,
So:
LookUp(TableName,'Company name',Dropdown.Selected.'Company name','Vendor name')
LookUp(TableName,'Company name',Dropdown.Selected.Value,'Vendor name')
If you still get error, show the formula on the Dropdown, it will help
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @Ogun_ustun Your code
LookUp(
TON_CompanyList,
'Company Name'=DDOriginCompanyName.Selected.ID
).'Vendor Code'
s failing probably because 'Company Name' is Text and DDOriginCompanyName.Selected.ID is numeric and will not match anyway. I cannot see your drop-down Items, but the value could be
LookUp(
TON_CompanyList,
'Company Name'=DDOriginCompanyName.Selected.'Company Name'
).'Vendor Code'
The .'CompanyName' may also be .Value or .Result depending on the Items of DDOriginCompanyName
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Your formula seem fine except if the user selects the Company name, then it should not be Dropdown.Selected.ID but
Dropdown.Selected.Company or
Dropdown.Selected.Value,
So:
LookUp(TableName,'Company name',Dropdown.Selected.'Company name','Vendor name')
LookUp(TableName,'Company name',Dropdown.Selected.Value,'Vendor name')
If you still get error, show the formula on the Dropdown, it will help
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @Ogun_ustun Your code
LookUp(
TON_CompanyList,
'Company Name'=DDOriginCompanyName.Selected.ID
).'Vendor Code'
s failing probably because 'Company Name' is Text and DDOriginCompanyName.Selected.ID is numeric and will not match anyway. I cannot see your drop-down Items, but the value could be
LookUp(
TON_CompanyList,
'Company Name'=DDOriginCompanyName.Selected.'Company Name'
).'Vendor Code'
The .'CompanyName' may also be .Value or .Result depending on the Items of DDOriginCompanyName
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
196 | |
122 | |
88 | |
49 | |
41 |
User | Count |
---|---|
285 | |
162 | |
138 | |
77 | |
73 |