472,353 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 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 1919
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...
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...
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)...
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...
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...
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...
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...
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...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

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.