|
-
Jul 20th, 2000, 09:42 AM
#1
Thread Starter
Fanatic Member
Howdy,
I have a dropdown combo box and two option buttons and one
list box.
I want the list box to show the dropdown combo box selection and concatenate the option button choice.
I am having trouble with the correct syntax.
if I do something like :
____________________
Private Sub cmdCalculate_Click()
If optFour.Value = True Then
intNumOne = 4
End If
lstHistory.AddItem cboShows.Text & intNumOne
End Sub
_____________________
the cboShows.text shows up in my list box but the
number that should be a four is a zero.
If I change the intNumOne to a 4 like this
lstHistory.AddItem cboShows.Text & 4
then the four shows up.
so I know it is possible but like I said I have the wrong syntax
thanks to anyone who helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|