473,487 Members | 2,674 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Autocomplete of Form Text Boxes

3 New Member
Hello ,
Im new here and generally in the Database world, just started learning access
while doing a little project.

I created a normal Database in MS Access 2003 with one table and one form
to insert data to the table. The form consists of Name, Surname , E-Mail .My question is , is there any command or feature that allows me to enable autocomplete on on my form text boxes?

To be more specific. Lets say i have inserted 20 contacts and 3 of them have the name alex and one the name alexantra.
What i want to do is when i use the form to insert data and lets say type al in the name text box ,there should appear a list of the names inserted already in my database that start by al so i can choose from the list the name i want to add.

I checked numerous other threads and didnt find any similar threads to mine
or info that could help me so i hope im not doublethreading or something if i am im sorry.

Thank you in advance,

alex
May 28 '07 #1
6 2223
nico5038
3,080 Recognized Expert Specialist
For this you can add a combobox based on a "Select distinct namefield from tblWithName".
Just create a new field with the wizard and select the field needed.
Next when the combobox is created, open the properties (button with hand and white sheet). Under the data-tab ad the "distinct" after the "select", thus no dupes will show.
Finally add under the same tab the name of the field so it's bound (will change) in your table.

Getting the idea ?

Nic;o)
May 28 '07 #2
alxcy
3 New Member
i've tried that before
the problem is that if my new entry is not already on the list im not able to
enter it because access classifieds my new entry as an invalid item not existing on the list.

For example if i have a contact named Lucas and i didnt enter one from before
i did the form with the list option for name surname and email then i cannot
enter Lucas into the database bcause lucas is not in the list .
May 29 '07 #3
NeoPa
32,556 Recognized Expert Moderator MVP
Check the 'Limit to List' property of your control.
May 29 '07 #4
nico5038
3,080 Recognized Expert Specialist
To elaborate on NeoPa's comment:
By default the LimitToList property should contain "No". When that's the case new entries can be added and a requery will show it the next time the combo is used.

Nic;o)
May 29 '07 #5
alxcy
3 New Member
thank you both for your replies :D
May 29 '07 #6
NeoPa
32,556 Recognized Expert Moderator MVP
thank you both for your replies :D
No problem :)
Did that help with your problem?
May 29 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1195
by: Scott | last post by:
I have a webform that I would like to use the autocomplete feature for all my textboxes. My textboxes are the <ASP:Textbox /> control. The only way I seem to be able to get autocomplete to work...
2
1135
by: Lloyd Sheen | last post by:
Is there a way to stop autocomplete for text boxes for just one form. I don't want to do it for browser?
0
1772
by: venu | last post by:
Hi All I need some help from u guys. iam working on aspx page.in this page i have lot fields. text boxes and dropdown lists .. First filed should be a autocomplete filed. this text has onblur...
5
11938
by: jdzemke | last post by:
I am getting 'options' is null or not an object using when using a dynamic dataset with a dropdown list in an html form. I am filling-in a text field and filtering the values in the drop-down. ...
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...
1
3823
by: wkerplunk | last post by:
Below is what I have build with several different languages. It works great but I need help, I am stuck. When you click on an item in the dropdown autocomplete div it does a mousedown function...
0
1639
by: Builder | last post by:
I made a simple app to test Leave focus event and AutoComplete functionality on the text box control. I added 2 text box controls on the blank form. Then I added Leave focus event handlers for...
10
2553
by: bonneylake | last post by:
Hey Everyone, Right now i have a script where when someone starts typing in the input field that it populates the drop down box next to it. Once both the input and drop down box have the same...
0
7106
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
6967
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
7137
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
6846
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
7349
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...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
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
600
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
267
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.