W
Wayne-I-M
Hi
Is it possible to set the caption of a button on a continous form subject to
the content of a record's text box.
Something like (I know this will not work)
Private Sub EmailBut_Click()
If Not IsNull(Me.Emailadress) Then
Application.FollowHyperlink "MailTo:" & [Emailadress]
Me.Caption = "OK"
Else
Me.Caption = "Not Poss"
MsgBox "There is no E Mail address on file for this person",
vbInformation, "E Mail options"
End If
End Sub
Many thanks for any tips (I can't get it to work
Is it possible to set the caption of a button on a continous form subject to
the content of a record's text box.
Something like (I know this will not work)
Private Sub EmailBut_Click()
If Not IsNull(Me.Emailadress) Then
Application.FollowHyperlink "MailTo:" & [Emailadress]
Me.Caption = "OK"
Else
Me.Caption = "Not Poss"
MsgBox "There is no E Mail address on file for this person",
vbInformation, "E Mail options"
End If
End Sub
Many thanks for any tips (I can't get it to work
