Excuse my poor old thick skull, but now it is starting to make sense.
Now I get what you are after. The tecnhique is called "cascading combos".
That is, basing the row source of one combo on the value in another. So if
you want to pick a part, then get the description from the table with the
revs in it, you would set your first combo up to return all the part numbers.
The second combo would then be set up to return the field(s) you need for
the Rev table, but only for the part in combo1, so the row source for combo2
has to be a query that filters on the content in combo1. Something like
"SELECT [REV_NO] FROM tblRevHistory WHERE [PART_NO] = '" & Me.Combo1 & "'"
Then to update the list for combo2, requery it in the After Update event of
combo1.
Me.Combo2.Requery
Is this what you are after?
--
Dave Hargis, Microsoft Access MVP
SteveP said:
The way our system is set up, the rev is the last part of the description
(ex. "PHILLIPS SCR DR #0 X 2" Rev A"..."PHILLIPS SCR DR #0 X 2" Rev B". No,
that is not an actual part of ours), so there will be more than one
description for every part. The only actual difference will be the Rev, but
it can be significant.
:
I am still confused, Steve. Why do you need a description combo? are there
more than one description for a part? If so, how is the description
associated to the part?
Are you saying the description is associated with the Rev?