|
I currently have three list boxes on my form, the information on each
one is determined on what was selected on the one before it. The
problem I'm having is the information that is used is pulled from
another program and is duplicated a lot.
Example
Type Make Model
Car Ford Mustang
Car Ford Focus
Car Dodge Neon
Truck Ford Ranger
Truck Ford F-150
In the first list box it would allow you to pick from Car or Truck, the
second list box would make you pick from Ford or Dodge, the problem I'm
running into is that Ford will come up twice in the list box and Dodge
once, I would like to limit it to only come up once. The code I'm
using in the row source for the list box is as fallows.
SELECT Products.ProductID, Products.Type, Products.Make FROM Products
WHERE (((Products.Type)=Forms![Bound Combo Form]!LstType)) ORDER BY
Products.Make;
This is not the information I'm actually using just an example. Any
help anybody could give me in limiting duplicate entries would be
greatly appreciated. |