473,772 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4917
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*********@pio neer.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
2997
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 out how to do this in bash script as the requirement is necessary for a migration script to obtain the code from a .cfg file and then be able for the "parent" script to run the code it "imported" from the .cfg file, much like PHP's require() or...
1
2506
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 ADO.NET 2.0 items. I'm trying to embed a datasource and a formview on the page, and I've done so as outlined in a "15 Minutes" article. I can use the datasource and formview just fine on the web end (I can select records, update them, delete...
3
1253
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. - if they are under source control, VS checks them out!
5
3998
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 grid like this: private void Page_Load(object sender, System.EventArgs e) { BlogEntry entries = DataLayer.GetAllBlogEntries(); DataGrid1.DataSource = entries;
0
7385
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 click the add button the contents of the textboxes are insertedinto the datatabel in teh cache and the datagrid is bound to it. However the problem comes when I delete a row from the database and then
0
2135
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 really fine. No problems at all. But, when this control is placed inside a template of an Infragistics UltraWebTab control, somethings stranges happens: 1. When the WebForm is opened, an "Error Creating Control" message is displayed (for container...
0
5010
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 question, I need to make an (Update )button in most of my VB forms,which enable me to update any row elements in the datasource in Access through each form , for example: I've a form about CustomersData as...
0
1072
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 when the calendar is opened it is partially obscured by the dropdown. Is there a way to resolve this? If not, can someone recommend a calendar
0
1636
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 Access instead of SQL Server. Everything works fine until I get to the last step, where I try to insert a record. When I hit the New link it lets me add the new data, but then when I hit Insert, I get the yellow page which I have paseted below. I...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10261
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, 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...
0
10104
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 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...
1
10038
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,...
0
8934
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, 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...
1
7460
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 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...
0
6715
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2850
bsmnconsultancy
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...

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.