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
Find Duplicate values
generic handler ashx file
SQL 2008 time(7) data type and Classic ASP code
On Error Resume Next
Run-Time Error 5111 - This Command is not available on this platform
Proxy blocking sites on IE7 (intermittantly) but not IE6...
Better way than separating data tables?
Windows 2003 Server with event id 1004 application error for wmiprvse.exe
Export User Profile path and Login script path from AD2003
Excute multiple delete and insert statements in same query