P
Pitu
Still not working. Here is the code
Select Case Me.TriggerSource
Case Me.TriggerSource.Column(1) = "Other"
If Me.TriggerType.Column(1) = "Judgement" Then
Me.Text15 = "otherjudgement"
End If
Case Me.TriggerSource.Column(1) = "NCR"
If Me.TriggerType.Column(1) = "Judgement" Then
Me.Text15 = "ncrjudgement"
End If
Case Else
Me.Text15 = "hi"
End Select
the triggertype table is also set the same way as triggersource with id and
values. when i try to debug it. pointing cursor on Case
Me.TriggerSource.Column(1) = "Other" shows value "Other". If
Me.TriggerType.Column(1) = "Judgement" Then shows value of "Judgement" but
Me.Text15 = "otherjudgement" shows "hi". again Case
Me.TriggerSource.Column(1) = "NCR" shows value "Other" instead of "NCR" and
If Me.TriggerType.Column(1) = "Judgement" Then shows value "Judgement" and
Me.Text15 = "ncrjudgement" shows "hi" again.
Don't know now what is the problem. is it the problem with the if statement
or what?
Select Case Me.TriggerSource
Case Me.TriggerSource.Column(1) = "Other"
If Me.TriggerType.Column(1) = "Judgement" Then
Me.Text15 = "otherjudgement"
End If
Case Me.TriggerSource.Column(1) = "NCR"
If Me.TriggerType.Column(1) = "Judgement" Then
Me.Text15 = "ncrjudgement"
End If
Case Else
Me.Text15 = "hi"
End Select
the triggertype table is also set the same way as triggersource with id and
values. when i try to debug it. pointing cursor on Case
Me.TriggerSource.Column(1) = "Other" shows value "Other". If
Me.TriggerType.Column(1) = "Judgement" Then shows value of "Judgement" but
Me.Text15 = "otherjudgement" shows "hi". again Case
Me.TriggerSource.Column(1) = "NCR" shows value "Other" instead of "NCR" and
If Me.TriggerType.Column(1) = "Judgement" Then shows value "Judgement" and
Me.Text15 = "ncrjudgement" shows "hi" again.
Don't know now what is the problem. is it the problem with the if statement
or what?