Filter a lookup field by another lookup field on a subform
Hello all,
I am trying to filter a lookup field based on the selected value of another
lookup field--both on the same subform. I tried storing the ID (of the
first lookup value) on the form and on the subform but cannot access it.
If I store the ID on the form and set the filter to "ID ==
input.myID.tolong()", I get a runtime error. If I store the ID on
the subform and set the filter to "ID == row.myID", it says
"row is not defined". Right now, I have both fields unfiltered
but, as I get more data, the more I'll want to have the filters.
My two lookups are to Employer and to Employee and would like to show
only those Employees who work for the selected Employer. My problem is
similar to https://help.zoho.com/portal/en/community/topic/nested-lookup-for-data-entry
but, on his, it was used (and solved) on a form. I could set the second
field to a dynamic picklist but need to populate other employee-specific
fields so that's not an option.
Thoughts?
Thanks in advance.
Mike
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.