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

How to modify the content of a label by a combobox selection.

Hi everyone and thanks for your help.

I'm creating a mask in access 97 and i need to connect a combo box
where the user choose the proper data with a label on the side of the
combo box where i should write the description of the choice.
I collect the data from a table with 2 columns like "selection_type"
and "description".
How can I modify the label with the value (description=1) when I
choose (selection_type=1)?

Thanks.

Vittorio

Jan 29 '07 #1
2 1410
Check out the AfterUpdate event of the combobox. When that event
fires you can modify the label caption.

On Jan 29, 9:56 am, "the.tzun...@gmail.com" <the.tzun...@gmail.com>
wrote:
Hi everyone and thanks for your help.

I'm creating a mask in access 97 and i need to connect a combo box
where the user choose the proper data with a label on the side of the
combo box where i should write the description of the choice.
I collect the data from a table with 2 columns like "selection_type"
and "description".
How can I modify the label with the value (description=1) when I
choose (selection_type=1)?

Thanks.

Vittorio
Jan 29 '07 #2
Thanks

On 29 Gen, 16:44, "Jason Lepack" <jlep...@gmail.comwrote:
Check out the AfterUpdate event of the combobox. When that event
fires you can modify the label caption.

On Jan 29, 9:56 am, "the.tzun...@gmail.com" <the.tzun...@gmail.com>
wrote:
Hi everyone and thanks for your help.
I'm creating a mask in access 97 and i need to connect a combo box
where the user choose the proper data with a label on the side of the
combo box where i should write the description of the choice.
I collect the data from a table with 2 columns like "selection_type"
and "description".
How can I modify the label with the value (description=1) when I
choose (selection_type=1)?
Thanks.
Vittorio
Jan 29 '07 #3

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

Similar topics

3
by: Wayne Wengert | last post by:
I am trying to populate a combobox with a lisy of items. I want the 1st item to be "Make a Selection" and the following items will be names from a table in my DB (See code below). When I run the...
4
by: little_shoe | last post by:
hi all, I need to modify a label value into a form. I read about the "label" tag but it doesn't seem to have any value attribute. how can I do it using javascript? thanks...
1
by: Steve | last post by:
I have a continuous form with several unbound comboboxes in the form header. The comboboxes are used to provide criteria for the SQL of the form. The code behind the form looks like: Public Sub...
5
by: Steve | last post by:
I have an unbound combobox in the form header of a continuous form. The selection in the combobox sets the where clause in a querydef which determines QryPFrmInventoryManagement. The following code...
0
by: George Hartas | last post by:
I am using Visual C# .NET 2003 to make a ComboBox accept both mouse and keyboard selection. For mouse selection code, I double-clicked ComboBox to get the default "comboBox1_SelectedIndexChanged"...
1
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
Hi! Can any one point me in direction of modify a TextBox control. What i want to do is to add a button, like the ComboBox have. with my own bitmap and execute an Event when clicked. I...
3
by: Alonso | last post by:
Hi, I have two drop downs and the content of the second one must changed everytime the user changes the selection in the first one. Is any easy way of doing this? Thanks in advance. Alonso
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...
4
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
I am trying to populate a DataGridView Combobox column with a different data binding source (dataset) depending upon a selection made in a previous column. I can handle the previous column but how...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.