A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

combo box selection navigation



 
 
Thread Tools Display Modes
  #1  
Old June 30th, 2004, 10:23 PM
Andy
external usenet poster
 
Posts: n/a
Default combo box selection navigation

Using Access 2003...

I have a form with a combo box bound to a lookup table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter) and
jump to the first instance of "A" on the list & then to
the next, etc. with each "A" keypress until they reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first state
beginning with that letter but a 2nd keypress of "A" just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter press
("X" for example).

BTW, what is this feature called? I see this behavior
many places, but can't find out how to do it after hours
of google.

Andy
  #2  
Old July 1st, 2004, 01:11 AM
Reggie
external usenet poster
 
Posts: n/a
Default combo box selection navigation

Andy, Open the form in design mode. Double-click the combo-box to launch
the properties window. Click the data tab. Set the Auto Expand to yes.

--
Reggie

----------
"Andy" wrote in message
...
Using Access 2003...

I have a form with a combo box bound to a lookup table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter) and
jump to the first instance of "A" on the list & then to
the next, etc. with each "A" keypress until they reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first state
beginning with that letter but a 2nd keypress of "A" just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter press
("X" for example).

BTW, what is this feature called? I see this behavior
many places, but can't find out how to do it after hours
of google.

Andy



  #3  
Old July 1st, 2004, 04:17 PM
Andy
external usenet poster
 
Posts: n/a
Default combo box selection navigation

Reggie:
This property was already set to "yes". Tried "no" - see
no difference in behavior.

What am I missing?

Andy
-----Original Message-----
Andy, Open the form in design mode. Double-click the

combo-box to launch
the properties window. Click the data tab. Set the

Auto Expand to yes.

--
Reggie

----------
"Andy" wrote in

message
...
Using Access 2003...

I have a form with a combo box bound to a lookup table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter) and
jump to the first instance of "A" on the list & then to
the next, etc. with each "A" keypress until they reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first state
beginning with that letter but a 2nd keypress of "A"

just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter press
("X" for example).

BTW, what is this feature called? I see this behavior
many places, but can't find out how to do it after

hours
of google.

Andy



.

  #4  
Old July 2nd, 2004, 12:18 AM
Reggie
external usenet poster
 
Posts: n/a
Default combo box selection navigation

Andy, I've seen this work on the web and when I place a combo box on one of
my MS Frontpage pages, however not sure how to accomplish this in Access.
Maybe someone else knows of a way. Sorry.

--
Reggie

----------
"Andy" wrote in message
...
Reggie:
This property was already set to "yes". Tried "no" - see
no difference in behavior.

What am I missing?

Andy
-----Original Message-----
Andy, Open the form in design mode. Double-click the

combo-box to launch
the properties window. Click the data tab. Set the

Auto Expand to yes.

--
Reggie

----------
"Andy" wrote in

message
...
Using Access 2003...

I have a form with a combo box bound to a lookup table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter) and
jump to the first instance of "A" on the list & then to
the next, etc. with each "A" keypress until they reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first state
beginning with that letter but a 2nd keypress of "A"

just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter press
("X" for example).

BTW, what is this feature called? I see this behavior
many places, but can't find out how to do it after

hours
of google.

Andy



.



  #5  
Old July 2nd, 2004, 04:38 AM
Douglas J. Steele
external usenet poster
 
Posts: n/a
Default combo box selection navigation

AFAIK, HTML comboboxes work differently than Access comboboxes. With an HTML
combobox, you get the behaviour you describe: that you can hit the A key
three times and it'll take you to the 3rd A entry. In Access, three As will
be treated as AAA. You can limit your combobox so that it won't accept AAA
unless it's in the list, but I don't believe you can change how it treats 3
As.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Reggie" wrote in message
...
Andy, I've seen this work on the web and when I place a combo box on one

of
my MS Frontpage pages, however not sure how to accomplish this in Access.
Maybe someone else knows of a way. Sorry.

--
Reggie

----------
"Andy" wrote in message
...
Reggie:
This property was already set to "yes". Tried "no" - see
no difference in behavior.

What am I missing?

Andy
-----Original Message-----
Andy, Open the form in design mode. Double-click the

combo-box to launch
the properties window. Click the data tab. Set the

Auto Expand to yes.

--
Reggie

----------
"Andy" wrote in

message
...
Using Access 2003...

I have a form with a combo box bound to a lookup table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter) and
jump to the first instance of "A" on the list & then to
the next, etc. with each "A" keypress until they reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first state
beginning with that letter but a 2nd keypress of "A"

just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter press
("X" for example).

BTW, what is this feature called? I see this behavior
many places, but can't find out how to do it after

hours
of google.

Andy


.





  #6  
Old July 2nd, 2004, 05:07 PM
Andy
external usenet poster
 
Posts: n/a
Default combo box selection navigation

Well, that seems consistent with what I've seen.

Also note that an Access list box has the default
behavior I want but it doesn't support the dropdown
function, so with a .1667 high 8pt font list box, you get
those ugly little up & down arrows!

urrgggg!

Web page input forms that use State code drop down boxes
almost always have the behavior I'm looking for in my
Access object.

Any other ideas?

Andy

-----Original Message-----
AFAIK, HTML comboboxes work differently than Access

comboboxes. With an HTML
combobox, you get the behaviour you describe: that you

can hit the A key
three times and it'll take you to the 3rd A entry. In

Access, three As will
be treated as AAA. You can limit your combobox so that

it won't accept AAA
unless it's in the list, but I don't believe you can

change how it treats 3
As.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Reggie" wrote in

message
...
Andy, I've seen this work on the web and when I place

a combo box on one
of
my MS Frontpage pages, however not sure how to

accomplish this in Access.
Maybe someone else knows of a way. Sorry.

--
Reggie

----------
"Andy" wrote in

message
...
Reggie:
This property was already set to "yes". Tried "no" -

see
no difference in behavior.

What am I missing?

Andy
-----Original Message-----
Andy, Open the form in design mode. Double-click

the
combo-box to launch
the properties window. Click the data tab. Set the
Auto Expand to yes.

--
Reggie

----------
"Andy" wrote

in
message
...
Using Access 2003...

I have a form with a combo box bound to a lookup

table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter)

and
jump to the first instance of "A" on the list &

then to
the next, etc. with each "A" keypress until they

reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first

state
beginning with that letter but a 2nd keypress

of "A"
just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter

press
("X" for example).

BTW, what is this feature called? I see this

behavior
many places, but can't find out how to do it after
hours
of google.

Andy


.





.

  #7  
Old July 2nd, 2004, 10:57 PM
Reggie
external usenet poster
 
Posts: n/a
Default combo box selection navigation

Have you tried a combo box? Right-click the List Box and select Change
To/Combo Box.

--
Reggie

----------
"Andy" wrote in message
...
Well, that seems consistent with what I've seen.

Also note that an Access list box has the default
behavior I want but it doesn't support the dropdown
function, so with a .1667 high 8pt font list box, you get
those ugly little up & down arrows!

urrgggg!

Web page input forms that use State code drop down boxes
almost always have the behavior I'm looking for in my
Access object.

Any other ideas?

Andy

-----Original Message-----
AFAIK, HTML comboboxes work differently than Access

comboboxes. With an HTML
combobox, you get the behaviour you describe: that you

can hit the A key
three times and it'll take you to the 3rd A entry. In

Access, three As will
be treated as AAA. You can limit your combobox so that

it won't accept AAA
unless it's in the list, but I don't believe you can

change how it treats 3
As.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Reggie" wrote in

message
...
Andy, I've seen this work on the web and when I place

a combo box on one
of
my MS Frontpage pages, however not sure how to

accomplish this in Access.
Maybe someone else knows of a way. Sorry.

--
Reggie

----------
"Andy" wrote in

message
...
Reggie:
This property was already set to "yes". Tried "no" -

see
no difference in behavior.

What am I missing?

Andy
-----Original Message-----
Andy, Open the form in design mode. Double-click

the
combo-box to launch
the properties window. Click the data tab. Set the
Auto Expand to yes.

--
Reggie

----------
"Andy" wrote

in
message
...
Using Access 2003...

I have a form with a combo box bound to a lookup

table
for USA state values (AK, AL, AR, etc).

I want to allow user to press "A" (or any letter)

and
jump to the first instance of "A" on the list &

then to
the next, etc. with each "A" keypress until they

reach
the one they want & then hit enter to select it.

Currently the first keypress jumps to the first

state
beginning with that letter but a 2nd keypress

of "A"
just
puts "AA" in the field which of course is invalid.

Suppose I'd also need to handle an invalid letter

press
("X" for example).

BTW, what is this feature called? I see this

behavior
many places, but can't find out how to do it after
hours
of google.

Andy


.





.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Move a selection from a combo box to a field in a different table? George Using Forms 0 June 24th, 2004 02:28 PM
Use combo box selection to call info to another combo box James Using Forms 2 June 23rd, 2004 03:48 PM
Combo Box not allowing selection Emma Using Forms 1 June 19th, 2004 05:43 AM
Combo Box selection disappearing on new record and change of option selection EmmA Using Forms 2 June 17th, 2004 02:21 AM
combo box and record navigation steve Using Forms 1 June 7th, 2004 06:09 PM


All times are GMT +1. The time now is 01:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.