F
fourstar
I have a form that utilizes one list box to update another. Listbox1
contains a row of times relative to a date selected by the user.
Listbox2 contains a list of names relative to the times in Listbox1.
When the user clicks a time in listbox1, listbox2 is updated to reflect
the names associated with that time. The problem I am trying to fix
is: When the user selects a date that does not have any times
associated with it, listbox1 is blank, as it should be, but listbox2
continues to display data from the date/time previously selected in
listbox1. I am using the requery method to update listbox2 each time
the listbox1 selection changes. Listbox2 just doesn't know what to do
when the boundcolumn in listbox1 is a null value. Any ideas on how to
make listbox2 go clear when listbox1 is clear?
contains a row of times relative to a date selected by the user.
Listbox2 contains a list of names relative to the times in Listbox1.
When the user clicks a time in listbox1, listbox2 is updated to reflect
the names associated with that time. The problem I am trying to fix
is: When the user selects a date that does not have any times
associated with it, listbox1 is blank, as it should be, but listbox2
continues to display data from the date/time previously selected in
listbox1. I am using the requery method to update listbox2 each time
the listbox1 selection changes. Listbox2 just doesn't know what to do
when the boundcolumn in listbox1 is a null value. Any ideas on how to
make listbox2 go clear when listbox1 is clear?