I know there are several ways to speed up combo boxes and form
loading. Most of the solutions leave rowsource of the combo box blank
and set the rowsource to a saved query or an SQL with a where clause
after users typed in one or several letters/digits.
My problem is as follows
Most of the time I need to display form in continuous format, that
means the combo box will appear in each record.
For example I have a form to let users view and input component mix of
a product.
The main form let users browse through existing product list and add
new product.
The subform (continuous form) then allows them to edit (and view) the
component structure of the currently selected product and to "build"
new products' structure by selecting the component (componentID is a
combobox)
The component list is now several thousands and growing. If I apply
the popular solutions to limit the rowsource of the combo, the form
will open up without info about component structure (because the combo
rowsources are blank). Also, after user start to type & select in a
record combo box , combo boxes in other records will become blank.
So the question is: Is there any way to speed up combo box, yet all
combo boxes in a continuous form still display their value?
Thanks in advance for any opinion
B 3 9370
Not really.
The combo only becomes blank on your continuous form if the bound column is
zero-width.
You should be able to load several thousand records into a combo.
If you are moving beyond that, consider changing the interface to a text
box, and check you got a match before accepting.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"B" <bi**@myrealbox .com> wrote in message
news:4c******** *************** ***@posting.goo gle.com... I know there are several ways to speed up combo boxes and form loading. Most of the solutions leave rowsource of the combo box blank and set the rowsource to a saved query or an SQL with a where clause after users typed in one or several letters/digits.
My problem is as follows
Most of the time I need to display form in continuous format, that means the combo box will appear in each record. For example I have a form to let users view and input component mix of a product. The main form let users browse through existing product list and add new product. The subform (continuous form) then allows them to edit (and view) the component structure of the currently selected product and to "build" new products' structure by selecting the component (componentID is a combobox)
The component list is now several thousands and growing. If I apply the popular solutions to limit the rowsource of the combo, the form will open up without info about component structure (because the combo rowsources are blank). Also, after user start to type & select in a record combo box , combo boxes in other records will become blank.
So the question is: Is there any way to speed up combo box, yet all combo boxes in a continuous form still display their value?
Thanks in advance for any opinion B
Hi Allen
G'day
I thought we almost always need to set the bound column width = 0,
otherwise what users see in the form are only meaningless ID numbers??
(They want to see things like description of the component, name,
company, ...)
Can you elaborate more on using a textbox?
I can figure out like this:
- Put componentID in the subform as a textbox
- Make a command button to pop up a continuous form with all the
components
- When user find the wanted component and doubleclick on the record:
close that popup form (or hide only - to improve performamnce the next
time user use the form) and assign that componentID to the componentID
textbox
- But what about displaying meaningful text like component description?
How should I accomplish that without being awkward?
Thanks
B
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Yes, it is common to have a zero-width bound column.
Because of the limitations in Access, I often don't though.
I use a meaningful text-based primary key and display it, specificially get
around this problem.
To display the description as well, create a query that contains both the
subform's table and the lookup table. (Use an outer join if the lookup field
can be Null). Add the Description from the lookup table to the query grid.
You can now display the description in a read-only text box beside the combo
where the user selects their item.
Remember that the blank combo problem only occurs when you have both a
limited RowSource and a hidden bound column. Avoiding either one solves the
problem.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"B L" <bi**@myrealbox .com> wrote in message
news:3f******** *************@n ews.frii.net... I thought we almost always need to set the bound column width = 0, otherwise what users see in the form are only meaningless ID numbers?? (They want to see things like description of the component, name, company, ...)
Can you elaborate more on using a textbox?
I can figure out like this: - Put componentID in the subform as a textbox - Make a command button to pop up a continuous form with all the components - When user find the wanted component and doubleclick on the record: close that popup form (or hide only - to improve performamnce the next time user use the form) and assign that componentID to the componentID textbox
- But what about displaying meaningful text like component description? How should I accomplish that without being awkward? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave N |
last post by:
I have a combo box that displays the names of all the users in my "Users"
table. I set the RowSource to a Query from the "User" and "Project" tables.
I can select any name from the list and that name comes up in the combo box
on the form. Everything works fine this way I just want to automatically
put the user name in the combo box display.
Is there a way to automate displaying a name in the combo box without having
to use the drop...
|
by: mik18 |
last post by:
Is there a limit to the number of rows a combo box can contain within
Access 2002?
I have a list of drug names with all the NDC codes which contains over
200,000 records. I do have this filtered to only non-obsolete drugs
(80,000). I can only get around 65,000 records to poplate in the combo
box. I can type the name of the drug in and not get any errors but can
only scroll through the first 65,000.
Any ideas on how to list all rows?
...
|
by: jcazmail-groups |
last post by:
I have a child form that has a combo box whose underlying query needs
to be filtered by a value from a combo box on the parent form.
I have succeeded in doing this by putting the following SQL in the
rowsource of the combobox:
SELECT tblForms.idForms, tblForms.FormNumber, tblForms.FormName,
tblForms.idCustomers FROM tblForms ORDER BY tblForms.FormNumber;
Then I adding the following to the GotFocus event of the combo box and
|
by: Stewart |
last post by:
Hi all! My (relatively small) database holds data on staff members and
the projects (services) that they are assigned to.
In my form frmStaff, I have a list of staff members - it is a
continuous form. Each staff member is linked to a Service through a
many-to-many relationship, using a junction table called
jctStaffServices. I would like to place a Combo Box in frmStaff where
you can 'filter' staff by the Service (i.e. ServiceName)...
|
by: lorirobn |
last post by:
Hi,
I have a form with several combo boxes, continuous form format, with
record source a query off an Item Table. The fields are Category,
Subcategory, and Color. I am displaying descriptions, not ID's, so I
have to convert the ID's from various lookup tables.
The combo boxes work fine except for subcategory, which is dependent on
category. Depending on category, the drop-down box for subcategory
will display different items. (for...
| |
by: Jeremy Wallace |
last post by:
Folks,
Here's a write-up I did for our developer wiki. I don't know if the
whole rest of the world has already figured out how to do this, but I
hadn't ever seen it implemented, and had spent a lot of time trying to
figure it out, over the years. It finally dawned on me a couple of
weeks ago how to do this.
A couple of notes:
1) This is written for a different audience than CDMA; it's written for
|
by: cocacrispy |
last post by:
I've read many forum posts and articles and haven't made any headway with this. Let me describe my tables and when I'm trying to do and see if any one can help me.
I have an items table, a vendors table, and a vendorItems table. The primary keys are ItemID, (ItemID, VendorID), and VendorID respectively. vendorItems is a join table, facilitating a many-to-many relationship between vendors and items. I've built a form for entering data on...
|
by: Kevin Wilcox |
last post by:
In Access 2003 I have a continuous form with a combo. I'm trying to find a way to change the displayed values of the combo depending on whatever value was selected in the combo in the previous record, whilst also displaying whatever value was seelcted in previous records, i.e. record one might have 5 as the value, which means the combo in the next record would include items 3,4 and 6; if the user then selects item 6, the next record would allow...
|
by: kcdoell |
last post by:
Hello:
I have a form (Default view =single form) with a subform (Default view =continuous forms) embedded into it. In the form I have three controls that display the Division, Working Region & Credit Region. The subform displays the data/records. The record source for both my form and subform is driven by a query, which is the way I filter the records that the end user will see via another form I created.
Everything is working fine but...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |