Sabtu, 31 Desember 2011

[MS_AccessPros] Cascading Combo Box

 

Here is the good news. Thanks to this site I have succesfully set up two combo boxes with the options in the second combo box based on the selection in the first combo box.

I have the "got focus" property on the second combo box set to refresh the record. Both the first combo box and the second combo box are entering the correct ID number into the correct table. The second combo box work off of a query that sorts based on the selection in the first combo box.

There are about 300 records in the table.

The problem is that we I open the form and go to the next record or the previous record the second combo box does not show the selection that was made. It just shows as blank. When I click on the box the correct item shows up. It is as if it was there all the time but waiting me to touch it with the mouse. This is frustrating. I would like the second combo box to show the selected item as I go through the next record.

I would think the combo box would refresh when I go to the next record but it will not show the selection until I click on it.

What did I do wrong?

Bill
Minnesota
Happy New Year!!

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar