Hi,
Brand new to this and I have no background in programming. I'm working on a fairly straightforward database for a not-for-profit organization tracking member information and I'm using Access 2010. I have cascading combo boxes set up to track company Sector (aka Combo88) and Subsector (aka Combo81). (Subsector depends on selected Sector). Everything works fine for the first record entry and the Sector/Subsector choices match but when you move to enter the next record, the Subsector list will not reset.
Per everything I've read, in the AfterUpdate event for Sector/Combo 88, I have:
Private Sub Combo88_AfterUpdate()
On Error Resume Next
Me.Combo81.Value = Null
Me.Combo81.Requery
End Sub
The Subsector box is cleared but when you click to bring up the list, the previous selection still appears, so apparently the requery part isn't working. I've read a zillion postings but can't figure out where the problem might be.
Any suggestions appreciated!
Brand new to this and I have no background in programming. I'm working on a fairly straightforward database for a not-for-profit organization tracking member information and I'm using Access 2010. I have cascading combo boxes set up to track company Sector (aka Combo88) and Subsector (aka Combo81). (Subsector depends on selected Sector). Everything works fine for the first record entry and the Sector/Subsector choices match but when you move to enter the next record, the Subsector list will not reset.
Per everything I've read, in the AfterUpdate event for Sector/Combo 88, I have:
Private Sub Combo88_AfterUpdate()
On Error Resume Next
Me.Combo81.Value = Null
Me.Combo81.Requery
End Sub
The Subsector box is cleared but when you click to bring up the list, the previous selection still appears, so apparently the requery part isn't working. I've read a zillion postings but can't figure out where the problem might be.
Any suggestions appreciated!