I have a spot in a form and I want to pick an item from a drop down
list. Then after I pick that Description I want the next spot In the
form to auto fill in with the part number. My people know the
description but we don't have all the part numbers in our heads. So if
it would fill in after they pick the description.
David Schofield wrote:[color=blue]
> On 15 Dec 2004 07:14:05 -0800,
jballard@acecwi.com wrote:
>[color=green]
> >Hello,
> >
> >
> >
> >I have a database set-up with a form and two subforms in it. I have[/color][/color]
one[color=blue][color=green]
> >of the subforms (replacement parts) set-up where you can pick part
> >numbers from a drop down box and also pick a description of the part
> >from a drop down box. These are two separate fields. I want to be[/color][/color]
able[color=blue][color=green]
> >to pick the part number and have it put in the description
> >automatically or the other way around. Which ever would by easier?
> >
> >
> >
> >I have a table with just the part numbers and descriptions. Then I[/color][/color]
have[color=blue][color=green]
> >it adding this info into a main table in relation to the serial[/color][/color]
number[color=blue][color=green]
> >of the machine getting the replacement parts. Please help,
> >[/color]
>
> Hi
> Not sure I understand this. If you have a table with fields[/color]
PartNumber[color=blue]
> and Description, and you have a combo box called combo1 which shows
> PartNumber in the first (bound) column and Description in the second,
> then when you pick a line combo1 will hold the value of PartNumber[/color]
and[color=blue]
> combo1.Column(1) will hold the value of the corresponding[/color]
Description.[color=blue]
> (Column numbering starts at zero).
> David[/color]