I have a database which controls the inventory for a store. When a "Species" come in, it gets a record which among other things stores how many were "Received". As the "Species" are shipped out, the number "Shipped" for each specific species is recorded. Each incoming shipment is kept separate with a "SpeciesID" and the number "Shipped" is related to this field.
On an species inventory form, I have a combo box that gets its choices from a table. The choices are from the field "Species". I can get the combo box to work properly, not display duplicate species, if I only use the field "Species" in the record source query builder and use the total: Group BY.
What I want to do is to only show those "Species" in the combo box whose "Shipped" total is less than "Received" (and not duplicate "Species" in the combo box). I can get the combo box to show only those "Species" whose "Shipped" is less than "Received", but it shows duplicate "Species" for each "SpeciesID" that has not been completely shipped.
How can I have a combo box that lists the "Species" once for all the "Species" that we have on hand ("Received" > "Shipped"
?
Thanks in advance,
On an species inventory form, I have a combo box that gets its choices from a table. The choices are from the field "Species". I can get the combo box to work properly, not display duplicate species, if I only use the field "Species" in the record source query builder and use the total: Group BY.
What I want to do is to only show those "Species" in the combo box whose "Shipped" total is less than "Received" (and not duplicate "Species" in the combo box). I can get the combo box to show only those "Species" whose "Shipped" is less than "Received", but it shows duplicate "Species" for each "SpeciesID" that has not been completely shipped.
How can I have a combo box that lists the "Species" once for all the "Species" that we have on hand ("Received" > "Shipped"
Thanks in advance,