473,418 Members | 2,340 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,418 software developers and data experts.

Limit to list Property

is it possible that if the limit to list property of a combobox is set to
true the focus is passed onto another field? What I mean is that I have a
combo box with the limit to list property set to true. the Notinlist event
procedure prompts that the entry is not in the list and if I want to add it
to the list. This is where it becomes tricky. Some times I want to add the
new data in the list if it is a new permanent employee, which then it adds it
to the list and requeries and then I can move on to the next field. But some
times I get employees that are temporary and I do not wish to add them to the
list, however, I do need to enter that name for that record. So if I want
enter that name without having to add it to the list I get stuck at the
combobox and can't move on. If there is a way doing this without setting the
limit to list property to yes I would love to know about it. Thanks in
advance.

--
Message posted via http://www.accessmonster.com

Aug 31 '07 #1
1 4134

"injanib via AccessMonster.com" <u35551@uwewrote in message
news:7784eb427cdc0@uwe...
is it possible that if the limit to list property of a combobox is set to
true the focus is passed onto another field? What I mean is that I have a
combo box with the limit to list property set to true. the Notinlist event
procedure prompts that the entry is not in the list and if I want to add
it
to the list. This is where it becomes tricky. Some times I want to add the
new data in the list if it is a new permanent employee, which then it adds
it
to the list and requeries and then I can move on to the next field. But
some
times I get employees that are temporary and I do not wish to add them to
the
list, however, I do need to enter that name for that record. So if I want
enter that name without having to add it to the list I get stuck at the
combobox and can't move on. If there is a way doing this without setting
the
limit to list property to yes I would love to know about it. Thanks in
advance.
Is there a way to do _what_?

Clearly, "Limit to List" seems to be "working as desgined." That is, it
will not allow entering data that isn't on the list.

In answer to your question, you can do just about anything you wish in code
you write for the NotInList event.

Every combo box that I've ever created for Employees has had a Row Source
that stored the Employee ID, displayed the Employee Name, based on an
Employees Table. Perhaps there are occasions when it would be appropriate
to have a NotInList event that allowed adding an Employee, but generally, in
the applications on which I've worked, there was a company procedure to be
followed, and not just any user could "add a new employee."

Larry Linson
Microsoft Access MVP
Sep 1 '07 #2

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

Similar topics

2
by: Max | last post by:
Have a DropDownListBox where I want to give users the option to select one of the values, but allow them to enter a freeform text value if they choose to do so in lieu of the proffered values. Kind...
6
by: tigr | last post by:
I am trying to read BLOBs from a large table (i.e., greater than 34K rows) using Java and the IBM JDBC driver (actually through an Application server). I get the following: SQL0429N The...
5
by: Mitchell Thomas | last post by:
I am using Oracle as a backend and have a field set as Varchar2(2000). The problem i have is access interprets this as a memo field and allows the user to type more than 2000 characters but does...
3
by: deko | last post by:
Is there any way to limit the number of records loaded into a ListBox? I looked at qdf.MaxRecords (to apply to the query that is the RowSource of the ListBox) but that only applies to ODBC data...
3
by: Big Dave | last post by:
Hello All, I was wondering wether anyone could help me solve what is probably a very easy issue. I keep getting this damn "The administrative limit for this request was exceeded" whenever I try to...
9
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using...
1
by: Pep | last post by:
Hi, I'm using a ListView control in an app I'm developing... When a user clicks the New button in my form I add a new ListViewItem and call the BeginEdit() function on this item. My problem...
9
by: campbellwarren | last post by:
Does anyone know how I could limit the number of rows allowed in a MS Access table... want to limit it to 1.
10
by: elventear | last post by:
Hello everyone, I am runing into recursion limit problems. I have found that the culprit was related to the __hash__ function that I had assigned to the objects that were added to a set. ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.