Drop-Down Select Vendor to Populate Vendor Form


G

Guest

How do I populate my vendor form after selecting a vendor from a dropdown
combo box vendor list within the form? The dropdown combo box wizard doesnt
give me the "Option to Find a Record", when setting up the combo box, so I
need the code. Using Access 2007. Thanks.
 
Ad

Advertisements

G

Guest

I dont quite get it... Do you want to go to a specific record an fill that
record or do you want to select a vendor from the list and continu filling
the record?

Maurice
 
G

Guest

Ok in that case try the following. Place a combobox on the form and choose
the third option from the wizard window. Specify the field you want to use as
the criteria and after that the combo will direct you to that record.

(Make sure the wizard is activated = orange in 2007)

Maurice
 
G

Guest

The wizard works but it only sets up the dropdown combo box list. When I
select a vendor, the form doesnt filter out that record from all the vendors
in my table.

Here are the steps I have in setting up the combo box using the wizard.
1. Look up Value from table or query / Or type the value.
2. Select the Table, Query, or Both
3. Select Fields
4. Select Sort Order
5. Adjust Column Size
6. Remember Value for later use / or save value in this field.
7. Name the ComboBox

That's it.

So my form isn't updated with the information that pertains to the vendor I
have selected from the drop down.
 
G

Guest

Ok, I reviewed your steps..

You've chosen the first option from the wizard. Choose the third one. That
should do the trick.

Maurice
 
Ad

Advertisements

G

Guest

Maurice,

I don't have any options other than what I typed for steps 1-7. What is
option #3? I have seen it in answers within this discussion group, but the
wizard goes directly to step 1.
 
G

Guest

When the wizard asks how you want to get the values for the control, do one
of the following:
1. If you want to display the current data from a record source, click I
want the list box/combo box to look up the values in a table or query.
2. If you want to display a fixed list of values that will seldom change,
click I will type in the values that I want.
3. If you want the control to perform a find operation, rather than serve
as a data entry tool, click Find a record on my form based on the value I
selected in my list box/combo box. This creates an unbound control with an
embedded macro that performs a find operation based on the value the user
enters.

Maurice I found the following in the Access Help Section. I see what you are
talking about now in regards to selecting option 3. However, I do not get
this choice, only choices 1 and 2. How can I get option 3 to show up?

Thanks,
 
G

Guest

Maurice, for future reference.

I found out by asking a wizards question that you do not get option 3 if the
form is a bound form. Apparently it needs to be unbound. I made that change
by not using an sql for my source and changing it to the vendor table for my
source. Then, upon using the combo box wizard, I had option 3 available.

Thanks for your assistance. I can understand how difficult it can be to try
to assist us novices when we do not provide you with all the necessary
information.

Thanks again.
 
Ad

Advertisements

G

Guest

No problem, glad to help. It is strange though because you can make a combo
that way using a bound form. I don't know why you don't see the third option
when the wizard starts. I'll look into it some more for future refs..

Keep playing and learning. Your persistance intrigues me, good job!

Maurice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top