J
Jay
I'm (slowly) getting to grips with cascading combo boxes & have a quick
question.
In my scenario I have a Company combo box, the chosen value in which
controls which values are displayed in the Location list box. I have
managed to get the List Box contents to 'refresh' on a value being chosen in
the combobox with the following:
Private Sub cboCompany_AfterUpdate()
Me!lstLocation = Null
Me!lstLocation.Requery
End Sub
This works fine. But....the list values remain on the form into the next
empty New record (even when the company combo is empty & not yet selected).
The List refeshes OK when a company is chosen but I want the form totally
blank for new records.
How can I (simply) get the List Box to appear empty when a new record is
selected.
Gratefully yours,
-Jay-
question.
In my scenario I have a Company combo box, the chosen value in which
controls which values are displayed in the Location list box. I have
managed to get the List Box contents to 'refresh' on a value being chosen in
the combobox with the following:
Private Sub cboCompany_AfterUpdate()
Me!lstLocation = Null
Me!lstLocation.Requery
End Sub
This works fine. But....the list values remain on the form into the next
empty New record (even when the company combo is empty & not yet selected).
The List refeshes OK when a company is chosen but I want the form totally
blank for new records.
How can I (simply) get the List Box to appear empty when a new record is
selected.
Gratefully yours,
-Jay-