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

In an object, like combo box, what is difference between "control source" and "Row Source"

I've been using row source with the QBE for my list and combo
boxes..when would I use control source?
jerry
Feb 10 '06 #1
2 4887
AFIK, you use control source when you want to transfer the data in your
combo box/list box to a table or to a query etc.

They are commonly used in bound text boxes used in forms where you
enter data into a table.

Feb 10 '06 #2
On Fri, 10 Feb 2006 08:11:18 -0600, je*********@pioneer.com wrote:
I've been using row source with the QBE for my list and combo
boxes..when would I use control source?
jerry


The RowSource fill's out the data within the combo box.
"Select Client ID, ClientName From tblClients Order By CleientName;"

The ControlSource is the field in a table that you wish to store the
value selected in the combo box, perhaps [ClientID].

The Combo Bound Column is the column that is actually stored.

Let's say you have a rowsource of client Id's in column 1 and Client
Names in column 2. You have set the column count property to 2.
The 1st column is the bound column and it is hidden (it's column width
is set to 0", so all you see is the Client Name.
The Combo box shows only Client Names when it drops down.

You select "Brown and Co". Since the 1st column is the bound column,
the ClientID is stored in the table, even though the combo box, after
selection, displays the Client name "Brown and Co".
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Feb 10 '06 #3

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

Similar topics

5
by: Phil Powell | last post by:
I'm sorry but I can't figure out how to explain this any better than this. In PHP we have a command "require()" that obtains a file and logically places it into another file. I cannot figure...
1
by: Scott McNair | last post by:
Hi all, Forgive me in advance for any noobish questions I may ask... although I'm well-versed in classic ASP/VB, I'm still learning some of the deeper nuances of .NET, particularly some of the...
3
by: Stefan Slapeta | last post by:
Hi all, VS 2003 shows a very strange behaviour when I add existing items to a controlled project: - if the items are not under source control, VS automatically adds them to source control. -...
5
by: Christian Hvid | last post by:
What is the easiest way to get the "row object" or "item object" when a datagrid is clicked? I have web form with a datagrid. And I have an array of something called BlogEntry that I bind to the...
0
by: Mohammad Ali via DotNetMonster.com | last post by:
hi guys, I have a problem with my datagrid. My form is set up so I have two textboxes an add button and an editable datagrid. The datagrid is bound to a datatable which is in my cache.When I...
0
by: Ravi Ambros Wallau | last post by:
Hi: I've created a custom control - a grid that uses Infragistics to display some filters, the grid itself, and some buttons. Well, when using this control directly on WebForm, everything works...
0
by: saraDotNet | last post by:
hi everybody , I'm a beginner student in vb.net,and I'm working on a very small project as a homework,and I've some questions which I ought to search for their solutions via any source . My...
0
by: Sharon | last post by:
Hello, Is there a way to force the dropdownlist control to go "behind" another control on a webform? I have a calendar control that is positioned near a dropdown list in the next row, and...
0
by: tom c | last post by:
I am going through "Walkthrough: Editing and Inserting Data in Web Pages with the DetailsView Web Server Control" found at http://msdn2.microsoft.com/en-us/library/sdba1d59.aspx I am using...
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?
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.