View Single Post
  #4 (permalink)  
Old April 2nd, 2008, 07:20 AM
mboyisis mboyisis is offline
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried the code below but it only displays what i have selected from combo box into textbox.(i.e. if i select Prof,it display Prof in the text box instead of number 1, when i select it for the first time).
NB:I tried it using Prof and Miss only.

Private Sub genderCombo_AfterUpdate()
 If Me!genderCombo = "Prof" Then
    Me!Proftext = "Prof"
 Else
    Me!Misstext = "Miss"
End If
End Sub




Reply With Quote