var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: clear combobox selection
How do you clear a combobox value.
Me!CboDistributionChannel.Value = Null
Me!CboDistributionChannel.Value = ""
Me!CboDistributionChannel.RowSource = ""
And everytime I get a message onscreen saying "you can not assign a value to this object" then it'll clear the box.
What am I doing wrong.
That error usually means that record is locked for editing.
Make sure the record you are editing is saved before you assign a value to it.
You will want to use the Null one and be sure the control and the field itself will allow null values.
This is on an unbound form and the command button it's assigned to is the cancel button.
This should work:
Me.CboDistributionChannel = Null
Is the control source also unbound?
If it isn't take out what you have as the control's source and put it in to the Default Value.
Let me know, if that works,
Still can't get it to work.