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
Frontpage 2003 Browse button
Updating a table from VBA
Block all but one website in Internet Explorer 8 using Group Policy
E00 Log files missing Help needed.
Dynamic Controls - checkboxes and tables
loop through tables using existing table to find NULL values
SSIS import from Excel giving me nulls
Problem Renaming Directories in ASP.Net (VB)
Query showing Last Results only
SQL Reporting issue