Connecting Tech Pros Worldwide Forums | Help | Site Map

Contents of Combo-box window auto-cleared

AA Arens
Guest
 
Posts: n/a
#1: Jun 14 '06
A small issue.
I use a combo box and when I want to have the value, I just type and
the autofill finds the value.
How to have the old value cleared when I want to type another value
lateron? The old value is still in the window of the combo-box.

Bart
Acc 2003


Arno R
Guest
 
Posts: n/a
#2: Jun 14 '06

re: Contents of Combo-box window auto-cleared


[color=blue]
> The old value is still in the window of the combo-box.[/color]

Huh ... ??????????????

I would try to throw the old value out of the window ;-)


OR, maybe you could just start typing a new value ??
I presume that when you tab (or enter) to the field the field is selected isn't it.
Else: Look at extra-options-keyboard

Arno R
pietlinden@hotmail.com
Guest
 
Posts: n/a
#3: Jun 15 '06

re: Contents of Combo-box window auto-cleared



AA Arens wrote:[color=blue]
> A small issue.
> I use a combo box and when I want to have the value, I just type and
> the autofill finds the value.
> How to have the old value cleared when I want to type another value
> lateron? The old value is still in the window of the combo-box.
>
> Bart
> Acc 2003[/color]

clear the combobox in the GotFocus event? Of course, if this is a
bound field, this could create pretty serious issues...

AA Arens
Guest
 
Posts: n/a
#4: Jun 16 '06

re: Contents of Combo-box window auto-cleared


What is the clear command, I could not find it clearly in the helpdesk
text.

Bart


pietlinden@hotmail.com wrote:[color=blue]
> AA Arens wrote:[color=green]
> > A small issue.
> > I use a combo box and when I want to have the value, I just type and
> > the autofill finds the value.
> > How to have the old value cleared when I want to type another value
> > lateron? The old value is still in the window of the combo-box.
> >
> > Bart
> > Acc 2003[/color]
>
> clear the combobox in the GotFocus event? Of course, if this is a
> bound field, this could create pretty serious issues...[/color]

Larry Linson
Guest
 
Posts: n/a
#5: Jun 18 '06

re: Contents of Combo-box window auto-cleared


"AA Arens" wrote
[color=blue]
> What is the clear command, I could not find
> it clearly in the helpdesk text.[/color]

It's right next to the "Any" key. :-)

If the window is fogged, I "clear" it by wiping; if the Combo Box has a
value in it, I can "clear" it by setting it to Null or to a Null String ""
(if those values are allowed, which they very well may not be, depending on
your settings and the contents of the Row Source). Also depending on your
Option settings, the entire existing value may be highlighted when your
cursor is placed in the Combo Box, so that whatever you type will replace
what is there.

Larry Linson
Microsoft Access MVP




Closed Thread