B
Bob Vance
Just cant work out the tbName must have the character "#" in tbName if
ckb2ndCompany is true!
Dim iAns As Integer
If Me![ckb2ndCompany] = -1 & [tbName]dosent contain the "#" Then
Cancel = True
iAns = MsgBox("Please enter the symbel # first!! " _
& "Click OK to Enter # or Cancel to quit", vbOKCancel)
If iAns = vbOK Then
Me.tbName.SetFocus
Else
Me.Undo
End If
End If
ckb2ndCompany is true!
Dim iAns As Integer
If Me![ckb2ndCompany] = -1 & [tbName]dosent contain the "#" Then
Cancel = True
iAns = MsgBox("Please enter the symbel # first!! " _
& "Click OK to Enter # or Cancel to quit", vbOKCancel)
If iAns = vbOK Then
Me.tbName.SetFocus
Else
Me.Undo
End If
End If