473,498 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Combo autocomplete stops completing

AC2007

I changed my combo's row source and then the autocomplete stopped
working. The combo is two columns, bound to the first.

First column is primary key (ID). Second column is a concatenation of
two fields (Descrip & UserID).

When I start typing letters of an existing description (Descrip), the
combo does not autocomplete. If I select a choice from the combo, it
does accept it. If I update the combo row source to just one column
(the primary key, ID), it will auto complete.

What am I missing? Does autocomplete only work when using the primary
key, single column view?

May 22 '07 #1
3 4728
GH
On May 22, 4:11 pm, John <john.kr...@gmail.comwrote:
AC2007

I changed my combo's row source and then the autocomplete stopped
working. The combo is two columns, bound to the first.

First column is primary key (ID). Second column is a concatenation of
two fields (Descrip & UserID).

When I start typing letters of an existing description (Descrip), the
combo does not autocomplete. If I select a choice from the combo, it
does accept it. If I update the combo row source to just one column
(the primary key, ID), it will auto complete.

What am I missing? Does autocomplete only work when using the primary
key, single column view?
John,

When you try to type in that combo box, do you be get any error
message in the status bar indicating you cannot edit the field? Since
you have bound the combo box to your primary key field (assuming your
form is bound to the same table), the form considers your attempts to
type a value as an edit to the primary key. Is your intention for
this combo box to actually set the primary key of the underlying
record? If not and you just need to navigate to a record, unbinding
the control should fix your problem.

- GH

May 23 '07 #2
On May 22, 3:11 pm, John <john.kr...@gmail.comwrote:
AC2007

I changed my combo's row source and then the autocomplete stopped
working. The combo is two columns, bound to the first.

First column is primary key (ID). Second column is a concatenation of
two fields (Descrip & UserID).

When I start typing letters of an existing description (Descrip), the
combo does not autocomplete. If I select a choice from the combo, it
does accept it. If I update the combo row source to just one column
(the primary key, ID), it will auto complete.

What am I missing? Does autocomplete only work when using the primary
key, single column view?
You need to add 'WHERE Descrip IS NOT Null' to your row source. A
Null Descrip will cause (Descrip & UserID) to be Null even though
UserID may exist. The Null value will cause the autocomplete to cease
functioning.

James A. Fortune
CD********@FortuneJames.com

May 23 '07 #3
On May 23, 12:56 pm, CDMAPos...@FortuneJames.com wrote:
On May 22, 3:11 pm, John <john.kr...@gmail.comwrote:
AC2007
I changed my combo's row source and then the autocomplete stopped
working. The combo is two columns, bound to the first.
First column is primary key (ID). Second column is a concatenation of
two fields (Descrip & UserID).
When I start typing letters of an existing description (Descrip), the
combo does not autocomplete. If I select a choice from the combo, it
does accept it. If I update the combo row source to just one column
(the primary key, ID), it will auto complete.
What am I missing? Does autocomplete only work when using the primary
key, single column view?

You need to add 'WHERE Descrip IS NOT Null' to your row source. A
Null Descrip will cause (Descrip & UserID) to be Null even though
UserID may exist. The Null value will cause the autocomplete to cease
functioning.

James A. Fortune
CDMAPos...@FortuneJames.com
There are not any null values in the records. This is very odd
behavior. I create a form to test this and get the same result. The
combo auto expands, but as soon as I restart access and try again, the
auto expands stops working. The db is in a "trusted location" (access
2007).

An ideas what I'm doing wrong? This is driving me crazy!

Jun 1 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10525
by: Grey | last post by:
I want to know that how to design an autocomplete combo box in HTML with Javascript? There is no combo box control available for use in the HTML. Is it possible to design such kind of combo box in...
0
1384
by: Noah Coad [MVP & MCP] | last post by:
When working with a DataSet generated from a DataSet definitions file (.xsd file), AutoComplete works fine for the first few times I press . after a class, but it stops completing text usually...
2
10615
by: VM | last post by:
How can I implement the autocomplete functionality in a Windows comboBox? Thanks.
1
2473
by: Kurt | last post by:
Hi, Is it possible to add an Autocomplete ComboBox column in a DataGrid? Thanks.
6
11766
by: CindyH | last post by:
Hi Does anyone know how to create a multi column combo box from the same table? Thanks, Cindy
8
5726
by: nil | last post by:
Hello all, It's urgent... i want to add autocomplete textbox facility in my application like google. as you type it suggests option to the user..i want the same kind of facility...i know i...
5
5310
by: Doug | last post by:
Hi I have a simple form, just with one combo box and an OK button - and i have tried to use the autocomplete routine and I have enabled autocomplete in the combo box properties. ...
1
1613
by: John Kreps | last post by:
I've tried to get combo boxes to work with Access 2007 for days now without success. What I can't get to work is the autocomplete. I've got three simple tables and one form with two controls....
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.