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

Combo box requery

I have a question that may have been asked numerous times, however
from the previous postings no one seems to have a plausible
explanation.
This is a performance issue that is very common:

I have a split Access database- tables and front end both sit in at
users local drive(except when theuser connects to the server to import
update files).
I have two unbound combo boxes, when I make a selection to the first
one the second's row source is being updated (it runs a query based on
the selection) my problem is it takeslonger than ususal to run the
query.

Has anyone an effective way of solving this?

Thanks

GB
Nov 13 '05 #1
3 2590
1. What is SQL string for the second combobox's rowsource ?

2. Where are the tables for the above SQL query stored?

3. How many are records in those tables?
Darryl Kerkeslager
"geribosi" <er****@yahoo.com> wrote:
This is a performance issue that is very common:

I have a split Access database- tables and front end both sit in at
users local drive(except when theuser connects to the server to import
update files).
I have two unbound combo boxes, when I make a selection to the first
one the second's row source is being updated (it runs a query based on
the selection) my problem is it takeslonger than ususal to run the
query.

Nov 13 '05 #2
the second combo box row sourceis based on a query that genrates a
list of items based on the user selection. As I have sait thedatabse
is split and the tables reside separately from other objects.
There are more than 7k of records in the tables queried.

Thx.

"Darryl Kerkeslager" <Ke*********@comcast.net> wrote in message news:<8q********************@comcast.com>...
1. What is SQL string for the second combobox's rowsource ?

2. Where are the tables for the above SQL query stored?

3. How many are records in those tables?
Darryl Kerkeslager
"geribosi" <er****@yahoo.com> wrote:
This is a performance issue that is very common:

I have a split Access database- tables and front end both sit in at
users local drive(except when theuser connects to the server to import
update files).
I have two unbound combo boxes, when I make a selection to the first
one the second's row source is being updated (it runs a query based on
the selection) my problem is it takeslonger than ususal to run the
query.

Nov 13 '05 #3
My first question was: 1. What is SQL string for the second combobox's
rowsource ?

Your answer, " the second combo box row sourceis based on a query that
genrates a
list of items", doesn't really answer the question. What, specifically, is
the wording of that query? In other words, if you built the query in the
query design view, open that query, switch to SQL view, and paste the SQL
into your response.

My second question, "Where are the tables for the above SQL query stored?"
means, are the tables stored in the front end, or the back end. You didn't
answer this either. For instance, if your combobox rowsource is "SELECT
street_id, str_name FROM su_street ORDER BY str_name", then is table
su_street in the BE? Because if it is, that could be the problem,
especially if table su_street contains 7000 records which your combobox has
to fetch from the BE every time you requery the combobox.
There are more than 7k of records in the tables queried.
So is there more than one table in the query? Post the SQL string (the
query)(the SELECT statement).
Darryl Kerkeslager

"geribosi" <er****@yahoo.com> wrote: the second combo box row sourceis based on a query that genrates a
list of items based on the user selection. As I have sait thedatabse
is split and the tables reside separately from other objects.
There are more than 7k of records in the tables queried.

Thx.

"Darryl Kerkeslager" <Ke*********@comcast.net> wrote in message

news:<8q********************@comcast.com>...
1. What is SQL string for the second combobox's rowsource ?

2. Where are the tables for the above SQL query stored?

3. How many are records in those tables?
Darryl Kerkeslager
"geribosi" <er****@yahoo.com> wrote:
This is a performance issue that is very common:

I have a split Access database- tables and front end both sit in at
users local drive(except when theuser connects to the server to import
update files).
I have two unbound combo boxes, when I make a selection to the first
one the second's row source is being updated (it runs a query based on
the selection) my problem is it takeslonger than ususal to run the
query.

Nov 13 '05 #4

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

Similar topics

1
by: Robert Neville | last post by:
The solution to my dilemma seems straight-forward, yet my mind has not been forthcoming with a direct route. My Project form has a tab control with multiple sub-forms; these distinct sub-forms...
2
by: Sean | last post by:
Greetings all, I am attempting to make a form that will filter through several tables that (I believe) have refretial integrity. I am pulling data from several tables into the form and i would...
1
by: Donna Sabol | last post by:
I have a form (frm_MAIN_RPT) that contains a combo box (Combo6) & subform (dbo_REQ_subform). The combo box is used to select the "cost center" data that will be displayed in the subform. From...
3
by: mal | last post by:
Sorry for repost - system added to another subject for some reason Have tried numerous ideas from the group to solve this one. It is such a simple example that it should be straightforward ! I...
2
by: Lucinda Roebuck | last post by:
I'm using Access 97 on a Windows XP computer. The combo box on the form "form1" will not refresh after a new name is added to the list. The "limit to list" properties for the combo box is set to...
3
by: dmkeith2 | last post by:
I have a table for all my combox boxes. ID: AutoNumber ComboName: text ComboValue: text with no duplicates I have create a query based on this table. I have also created two forms based on...
1
by: Bill | last post by:
Problem: Combo box data disappears from view when a requery is done See "Background" below for details on tables, forms & controls On a form, I want to use the setting of bound combo box C1...
5
by: consonanza | last post by:
I am working on a report filter form. It has 2 combo boxes (cmboSelectSubject and cmboSelectCategory) to select criteria. Selecting an entry in combo 1 restricts the options available in combo 2....
12
waynetheengineer
by: waynetheengineer | last post by:
Hi, I have a combo box on a form with a list of cities in it based on a single field city table. I also have a command button on this form that opens up another form that allows the user to enter...
13
by: mirandacascade | last post by:
I want to set things up such that a section of code will have been executed by the time one clicks on the drop down arrow on a combo box control. Currently, that section of code resides in the...
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?
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:
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
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...
0
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
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.