Changing control Rowsource when switching records

P

Pason

I'm relatively new to Access to I hope this makes sense...

I have a bound form with 2 combo boxes. The rowsource of the 2nd combo
box depends on the selection in the 1st combo box, which has the same
rowsource regardless of the record.

The problem occurs when I switch between records. I reinitialize the
rowsource in the On Current event, but the 2nd combobox selection then
changes to the first one in the list. After I reset the rowsource I
need to reset the value to the value in the table.

J
 
P

Pason

Pason said:
I'm relatively new to Access to I hope this makes sense...

I have a bound form with 2 combo boxes. The rowsource of the 2nd combo
box depends on the selection in the 1st combo box, which has the same
rowsource regardless of the record.

The problem occurs when I switch between records. I reinitialize the
rowsource in the On Current event, but the . After I reset the rowsource I
need to reset the value to the value in the table.

J
I figured it out..."2nd combobox selection then
changes to the first one in the list" doesn't actually happen.
 

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