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
Change label caption in report header
Force close an .mdb file that is in use then compact and repair it using vba code
Help using Function to Get Current User's Desktop: Access 2003 VB
how do installing owa on a client pc
16 bit ms dos sub system
Nested Subquery efficiency
Moving mailboxes from SBS 2003 to Exchange 2007
How do I auto-forward an email to an outside address and leave a copy on my system?
ISA 2004 Load Balancing mail & web on two adsl routers
How do I setup a VPN site to site tunnel between a linksys VPN router and ISA server 2006?