I've been searching a lot for this. I do not want a drill down filter where I start with 1 dropdownand narrow down in the other based on one choice. No, I want to filter on 1 specific database field.
An example:
I have 1 table Companies. In that table I have a FK to CompanyType (ex. Supplier, Customer, ...)
In my invoices Form I want to have a dropdown from my Companies table with only the Customers in. (so, for example, dropdown where CustomerTypeID = 1)
In my Expenses Form I want to have a dropdown from my Companies table with only the Suppliers in. (so, for example, dropdown where CustomerTypeID = 2)
Thoughts? Many thx!
In your
Invoicestable, define an unstored calculation fieldcConstant1(result is Number) and enter:as the formula.
Define a relationship between
Invoicesand a new occurrence of theCompaniestable (let's name itCustomers) as:Define your value list to use values from
Customers::CompanyID, include only related values starting fromInvoices.Alternatively, define a calculation field named
cCustomerIDin the Companies table =and define your value list to use this field.