pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
Hi, I know that Combo6 value = CLIENT1 withot any spaces...
however it always returns "MsgBox "No " & Me.Combo6.Value
I also tried If trim(Me.Combo6.Value) = "CLIENT1" Then
Still the same...
Is there some reason this can happen in access form?
Thanks for helping.
however it always returns "MsgBox "No " & Me.Combo6.Value
I also tried If trim(Me.Combo6.Value) = "CLIENT1" Then
Still the same...
Is there some reason this can happen in access form?
Thanks for helping.
Code:
[/FONT]
[FONT=Courier New]Option Compare Database[/FONT]
[FONT=Courier New]Private Sub Command8_Click()
If Me.Combo6.Value = "CLIENT1" Then
MsgBox "Yes " & Me.Combo6.Value
Else
MsgBox "No " & Me.Combo6.Value
End If
End Sub