P
Pendragon
Access03/WinXP
On a subform, I am using two combo boxes for data selection. The first
combo box allows the user to select a Primary category; the AfterUpdate
property sets the RowSource for the second combo box where the user will
select a Secondary category. In the AfterUpdate of the second combo box, I
am using Me.Refresh and Me.Requery.
This works without issue. The problem is that on selection of the Primary
category where any previous records in the continuous form do not match the
Primary category of the current record "lose" the data of the Secondary combo
box. I say "lose" because if I exit the main form and re-open, all of the
data on the subform appears appropriately.
I thought I read somewhere that this was a problem with continuous forms and
using VBA to set rowsources of cascading combo boxes - is this true? Any
ideas on how work around this?
On a subform, I am using two combo boxes for data selection. The first
combo box allows the user to select a Primary category; the AfterUpdate
property sets the RowSource for the second combo box where the user will
select a Secondary category. In the AfterUpdate of the second combo box, I
am using Me.Refresh and Me.Requery.
This works without issue. The problem is that on selection of the Primary
category where any previous records in the continuous form do not match the
Primary category of the current record "lose" the data of the Secondary combo
box. I say "lose" because if I exit the main form and re-open, all of the
data on the subform appears appropriately.
I thought I read somewhere that this was a problem with continuous forms and
using VBA to set rowsources of cascading combo boxes - is this true? Any
ideas on how work around this?