473,387 Members | 1,863 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.

Fill from Combo Box Selection - Speed Issue?

Hello,

I need some advice on which way to resolve the following. On a form, the
user will make a selection from a combo box, after the selection several
different fields need to be updated on the form, based on the selection in
the combo box.

I have been doing this quite successfully by having the combo box rowsource
query contain all the fields and simply use the correct column to fill in
the text boxes. e.g. me.txtState = me.cboSelection.column(2)

My question? I now need to populate 12 fields, which will bring the columns
in my rowsource query to 14. Is this query too big for this technique and
should I shorten the query to just get an ID, and use code to fill in the
fields based on creating a recordset?

Also, the combo box rows will typically be under 100, no more than a
thousand.

I'm just looking for others experiences or opinions on this, any thoughts?

Thanks!
Tom
Nov 13 '05 #1
1 1988
I often uses something similar. I fill the combo box the same way, but
instead of using code to populate the other fields, I set the other fields'
control source property to =[Salesperson].column(9)

This seems to be much faster. I haven't had a performance issue so far.

Matthew Wells
MW****@FirstByte.net

"Tom G" <no****@none.com> wrote in message
news:Nc******************@tornado.rdc-kc.rr.com...
Hello,

I need some advice on which way to resolve the following. On a form, the
user will make a selection from a combo box, after the selection several
different fields need to be updated on the form, based on the selection in
the combo box.

I have been doing this quite successfully by having the combo box rowsource query contain all the fields and simply use the correct column to fill in
the text boxes. e.g. me.txtState = me.cboSelection.column(2)

My question? I now need to populate 12 fields, which will bring the columns in my rowsource query to 14. Is this query too big for this technique and
should I shorten the query to just get an ID, and use code to fill in the
fields based on creating a recordset?

Also, the combo box rows will typically be under 100, no more than a
thousand.

I'm just looking for others experiences or opinions on this, any thoughts?

Thanks!
Tom

Nov 13 '05 #2

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

Similar topics

8
by: rikesh | last post by:
Hi I'm sure this is a very trivial problem! I have a combo bound to a recordset. I was wondering how I can show the value on the page, what the user has selected? The code that I'm using is...
2
by: CSDunn | last post by:
Hello, I have a combo box designed to look up records in a subform based on the selection made in the combo box. The Record Source for the combo box is a SQL Server 2000 View. There is one bound...
4
by: Sherwood Botsford | last post by:
Table Markers ID (Primary Key) This&That PointClass (Combo box) Points Table PointClasses PointClass (primary key) Points (number) Description (Text)
3
by: Antoine Janssen | last post by:
hi, I would like to create two combo boxes. In the first one you can select a user in the second one you can select a project. To simplify the selection i would like to shorten the project list...
18
by: Vayse | last post by:
Has anyone an example of filling a combo box with a data reader? Thanks Vayse
1
by: Birderman | last post by:
Hi is it possible to enter data into two separate fields from a single combo box selection. ie if select entry in combo, field 1 will be filled with data from column 1 of combo and field2...
2
by: ravindraredekar | last post by:
Hi, I am Using 2 combo i am filling 1st combo through data base value like company name. i want to fill the name of employee in second combo when i select company name from first combo can...
3
by: Magnus | last post by:
Im using a set combobox (ComboBox1) to provide a selection of records from a database table. I have a typed dataset (DataSet1) that contains the typed datatable (DataTable1) that the combobox is...
1
by: peasedm | last post by:
Okay this one has me stumped. I have a table called Review_Statements with the following columns: statementid type statement1 statement2 statement3 I have a form called SR_Review with an...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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,...

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.