Private Sub Text6_Change()
Text6.Text = UCase(Text6.Text)
TicketClass = Text6.Text
Select Case TicketClass
Case "F"
Text6.Text = "Female"
Class = True
Case "M"
Text6.Text = "Male"
Class = True
Case "M" Or "F"
Text6.Text = ""
End Select
End Sub
I'm going to change the scripting some more and post back with it.
Dim yearold As String
Dim monthold As String
Dim weekold As String
Dim dayold As String
Dim hourold As String
Dim minuteold As String
Dim secondold As String
Dim yearDOB As String
Dim monthDOB As String
Dim dayDOB As String
Dim DOB As String
age = Month(Now) - Text4.Text
If age < 0 Then
age = 1
Else
age = 0
End If
Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.
This thread is more than three months old
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline:VB6 and Shell
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline:Pyramid Issue