[AccessD] Clear the display in a combo box

Doug Steele dbdoug at gmail.com
Mon Sep 1 12:00:45 CDT 2008


I think you can just set it to null:

mycombobox = null

I generally use the Current or Activate events of the form.

Doug Steele

On Mon, Sep 1, 2008 at 9:19 AM, Tina Norris Fields <
tinanfields at torchlake.com> wrote:

> Hi,
>
> I know this should be easy, but I'm not getting it.  I have a combo box,
> I make a selection from the list, I click a button that opens another
> form based on my selection in the combo box.  So far, so good.  I close
> the second form and return to the form with the combo box on it.  I want
> the box to be empty of the choice last made.  That is, I want the form
> with the combo box to appear the way it does before it gets used.  I
> don't want the previous selection to appear in the textbox portion of
> the combo box.  What action or method do I want?  And should it be
> called in the On Activate event?
>
> Thanks,
> Tina
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>



More information about the AccessD mailing list