P
Paul
Hi
Colleague trying to use a command button on a data entry
form Code attached to button is is:
Private Sub Command353_Click()
DoCmd.Save
DoCmd.OpenReport "MyReport",
acViewPreview, , "[FFFFOwner] = '" & Me!
[FFFFOwner] & "'"
DoCmd.PrintOut
End Sub
Message window has wrapped line of code
The action is meant to save the entry in the form and
print the report. However it is not saving the entry just
printing the report. Any ideas what is going wrong here?
Thanks
Colleague trying to use a command button on a data entry
form Code attached to button is is:
Private Sub Command353_Click()
DoCmd.Save
DoCmd.OpenReport "MyReport",
acViewPreview, , "[FFFFOwner] = '" & Me!
[FFFFOwner] & "'"
DoCmd.PrintOut
End Sub
Message window has wrapped line of code
The action is meant to save the entry in the form and
print the report. However it is not saving the entry just
printing the report. Any ideas what is going wrong here?
Thanks