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
C# equation to Compress string
store procedure Vs. Triggers
How do I find whether a bittorrent (protocol), application is running on a computer
Windows 7 BitLocker with Active Directory
Count records in subform meeting criteria
Draw gradient on panel control
How do I get the Date() to begin at 07:00 instead of 00:00
Disable edit box on PropertyPage from main window
Export 4 Queries to the same Worksheet
Receive Connector for Exchange 2007 Server to Receive From Barracuda FW 300