Hello,
I have a database with 2 tables : Suppliers and Products. In my form I have 2 dropdown menu the first is for the supplier and the second for the products.
How Can I do to list the product of the chosen supplier ?
Hello,
I have a database with 2 tables : Suppliers and Products. In my form I have 2 dropdown menu the first is for the supplier and the second for the products.
How Can I do to list the product of the chosen supplier ?
You can create lookup rules to automatically populate fields with information from a database. Does your product table contain information about the supplier? If so, create one rule that will populate the supplier name into the Supplier drop down field, then create another rule which will populate the Product drop down field based on the information selected in the Supplier field:
Hope that helps!
I think you are missing the problem.
You should check out the use of a stored procedure.
Or in a modified sense, you can do what is listed above, but maybe in a different sense.
Can you give us an indication of what the primary key is between the two database tables? if it is simply the supplier, then you can use the products table directly. If not, then you will want to use a stored procedure or a view for what you want.