|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I have created a form in Access, which contains a list box. The list box contains a series of numbers, each with a different meaning. When the user selects the desired values from the list box, I want the meanings of the numbers to be displayed in a single text box. My problem is that I cannot figure out the code to do this. Can anyone help?
|
|
#2
|
|||
|
|||
|
Not without some clue about where the different meanings come from.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Private Sub List1_Click()
If List1.Text = 1 Then Text1.Text = "You Chose 1" ElseIf List1.Text = 2 Then Text1.Text = "You Chose 2" ElseIf List1.Text = 3 Then Text1.Text = "You Chose 3" End If End Sub |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Displaying selected values of a list box in a text box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|