Microsoft
Software
Hardware
Network
Question : refreshing listbox value
I have a listbox on a form. Sometimes the value of the listbox does not reflect what is actually selected. Specifically, after I have deleted an item from the listbox and there is no item selected on the listbox, the value it reflects in some code following is still the id of the deleted item instead of "null." Is there a way to refresh the value? I tried using the requery command, but did not work?
Answer : refreshing listbox value
After deleting ... try this:
Me.YourListBoxName = Null
This will clear the list box.
mx
Random Solutions
Adding an attribute to the xml root using FOR XML PATH syntax
I need help with DoCmd.DoMenuItem acFormBar command number
SQL statement (left join) not working as expected
How to Call MDI Child Events from MDI Parent...not all MDI Children are the same form
SQL Reporting Services - Format Datetime {0:D} culture?
system interrupt controller missing driver
Disable Enter key in Datagrid
How do you show deadlocks in SQL Server 2008?
Creating a directory path string based on choices in a form
How to use a module when referencing a calander.