Modifying Wizard search parameters and detail page links for products that have more than one product type
I've created a DataAssist product search, to search by product number and product type. It works as it should if each product has a unique product type. However, some products have multiple product types. For example, a search for product 252 should have a result of 252 Torque and 252 Tractor.
A separate Db table using foreign keys for both product and product type works properly on a dynamic tab panel in the site, but not on the DataAssist results and Detail pages:
A search for '252' returns only 252 Torque, rather than 252 Torque and 252 Tractor.
A search for 'Torque' lists 252 Torque; a search for 'Tractor' lists 252 Tractor, which is correct.
When clicking the 252 Torque detail link it goes to 252 Torque. When clicking the 252 Tractor detail link it goes to 252 Torque, rather than 252 Tractor.
The recordsets all have INNER JOINs to combine the appropriate tables in addition to the separate product and product type table mentioned above.
Tried reconfiguring the search and also using AND in the Wizard, but still doesn't work properly.
On a related note, the tab panel that uses the FK table also returns 252 Torque regardless of which product is chosen.
Files attached.