D
dohernan via AccessMonster.com
I have a form, if a person puts a "y" in the Jean Field I want to store that
info until the person finishes filling out the form then clicks on a Command
Button to open a Report/Letter.
When that Report/Letter is opened, if there's a "y" in the Jean Field I want
the Jean Signature label to be visible. It has a default of another name
visible, with the Jean one defaulted to not visible.
The name of the Label-
JeanSignatureLabel
Thanks.
Thoughts so far, in the Form-
Private Sub Jean_AfterUpdate()
If Me.[Jean] = "y" Then
DoCmd.RunCommand acCmdSaveRecord, , _
"[AddressRecord] = " & Me.AddressRecord, , "J"
End If
End Sub
In the Report-
Private Sub Report_Open(Cancel As Integer)
If IsNull(Me.OpenArgs) Then
Me.JeanSignatureLabel.Visible = False
Else
Me.JeanSignatureLabel.Visible = True
End If
End Sub
I'm not quite sure how to pull this together, thanks.
info until the person finishes filling out the form then clicks on a Command
Button to open a Report/Letter.
When that Report/Letter is opened, if there's a "y" in the Jean Field I want
the Jean Signature label to be visible. It has a default of another name
visible, with the Jean one defaulted to not visible.
The name of the Label-
JeanSignatureLabel
Thanks.
Thoughts so far, in the Form-
Private Sub Jean_AfterUpdate()
If Me.[Jean] = "y" Then
DoCmd.RunCommand acCmdSaveRecord, , _
"[AddressRecord] = " & Me.AddressRecord, , "J"
End If
End Sub
In the Report-
Private Sub Report_Open(Cancel As Integer)
If IsNull(Me.OpenArgs) Then
Me.JeanSignatureLabel.Visible = False
Else
Me.JeanSignatureLabel.Visible = True
End If
End Sub
I'm not quite sure how to pull this together, thanks.