J
John Harrington
In VBA, how do you clear a multivalued combo box?
Simply setting it to Null doesn't work.
Thanks in advance,
John
Simply setting it to Null doesn't work.
Thanks in advance,
John
John Harrington said:In VBA, how do you clear a multivalued combo box?
Simply setting it to Null doesn't work.
Thanks in advance,
John
John Harrington said:In VBA, how do you clear a multivalued combo box?
Simply setting it to Null doesn't work.
John Harrington said:Thanks to both of you for your answers, but neither solution works (I
tried both and am pretty certain I tried them right).
This one does, though:
Me.MyMultiValue = Array() ' clears a multivalued combo box
called MyMultiValue.
Arvin Meyer said:I'm glad that Dirk found something that works for you.
The code I posted has been working daily for the last 8 years, and I can't
imagine why it didn't work for you.
John Harrington said:Thanks to both of you for your answers, but neither solution works (I
tried both and am pretty certain I tried them right).
This one does, though:
Me.MyMultiValue = Array() ' clears a multivalued combo box
called MyMultiValue.
Dirk Goldgar said:I think he found it on his own, just before I posted.
Your code is for a multiselect list box, while John was dealing with a
combo box bound to a multi-value field.
--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html
(please reply to the newsgroup)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.