473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Contents of Combo-box window auto-cleared

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

Jun 14 '06 #1
4 2420
The old value is still in the window of the combo-box.


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
Jun 14 '06 #2

AA Arens wrote:
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


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

Jun 15 '06 #3
What is the clear command, I could not find it clearly in the helpdesk
text.

Bart
pi********@hotmail.com wrote:
AA Arens wrote:
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


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


Jun 16 '06 #4
"AA Arens" wrote
What is the clear command, I could not find
it clearly in the helpdesk text.


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


Jun 18 '06 #5

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

Similar topics

5
by: Harry Haller | last post by:
<select name="cboPlaces" id="cboPlaces"> <option value="3">Countryside</option> <option value="4">Forest</option> <option value="5">Mountain</option> <option value="6">Desert</option> <option...
1
by: Tina McGibben | last post by:
I basically have a form with a subform with two combo boxes on the main form which filter the subform. The code below works except I cant seem to get it to show all the worksheets when there is...
8
by: bbdata | last post by:
ok i have a problem here and not much time to play round. have a form bound to a table. one of the combos is bound to a field Agents. i have active and retired agents. thing is, i want to be able...
2
by: A. Chiou | last post by:
Hi: I have a combobox (in form 1) whose items are populated from a table. In form 2 there is a data entry for the same table. How do I reflect the changes to the combobox in form 1 as soon as...
2
by: Al | last post by:
hi,I am using asp.net(vb) I am trying to create 3 combo boxes which are dependable on each other. when comb1 is selected, it shows the comb2 data based on the selection in combo1 and when combo2...
1
by: Alejandro González | last post by:
Hi I have a combobox binded to a Datatable something like combo.DataSource = dt.DefaultView; combo.DisplayMember = "descField"; combo.ValueMember = "valueField"; it works fine.
2
by: G .Net | last post by:
Hi Is there a way to prevent the combo displaying its list of items when the "combo arrow" is clicked? The problem I'm trying to resolve is that depending on a Boolean value, which is set...
3
by: Riun | last post by:
I want to check if a row in the underlying table of my form, changed, so I created a second table, pasted all rows from underlying table in second table, and then want to check if the two tables are...
4
by: User | last post by:
Hi people, Excuse if my question is silly, but... i have 2 combo boxes in my project they are binded to fields from same table... one is binded do Code field and another to Description field...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.