Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clear Comob Box Selection after Cancel and Undo.

Status
Not open for further replies.

vich

Technical User
Sep 26, 2000
107
0
0
US
I have searched and can't seem to find a way to clear the combo box after aborting a change in the beforeupdate event.

I am using
me.mycbo.undo
cancel = true

While the operation aborts it still keeps the item selected in mycbo box. Can't I clear that?

Thanks
 
Setting the rowsource to "" will clear the items that were added. Setting it's value should clear all entries

Code:
Me.Combo0.RowSource = ""
Me.Combo0.Value = ""
 
How are ya vich . . .

. . . perhaps:
Code:
[blue]   Me.MyCbo = Null[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top