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
Importing CSV file into database table using OPENROWSET
Unable to export/open a SharePoint list in Excel
SSIS Connection Manager
Convert/Compile Excel Sheets to Portable EXE
Custom Built Login Page to replace IIS Basic Authentication Popup
Help with GPEDIT.MSC
One to one relationship Access 2003 and a dlookup
DataGrid Drag and Drop Rows
Want Access Report to show on top of popup form
Not receiving active alert messages in the SCOM 2007 Operations Console