Hi,
I have a combo box (cbodate) and it's based on another combo box (cboagent). Right now when I select and agent, the date box shows the dates specific to that person and when I select one, I open a form with the info. The issue is when I want to select a new agent, the date box shows the old date until I select a new one. Is there a way to have the date combo go to a blank when a new agent is selected?
I have this right now in the afterupdate for the first box (cboagent)
Me.cboDate = Null
Me.cboDate.Requery
Me.cboDate = Me.cboDate.ItemData(0)
Thanks.
I have a combo box (cbodate) and it's based on another combo box (cboagent). Right now when I select and agent, the date box shows the dates specific to that person and when I select one, I open a form with the info. The issue is when I want to select a new agent, the date box shows the old date until I select a new one. Is there a way to have the date combo go to a blank when a new agent is selected?
I have this right now in the afterupdate for the first box (cboagent)
Me.cboDate = Null
Me.cboDate.Requery
Me.cboDate = Me.cboDate.ItemData(0)
Thanks.