D
dougande
I have created a command button which I want to use to open the Relationships
report. I had been supplied some code shown below but it is not working.
Private Sub cmdApplicationDataModel_Click()
On Error GoTo errHandler
DoCmd.Echo False, ""
DoCmd.OpenReport "rptRelationship", acViewPreview
DoCmd.Maximize
DoCmd.Echo True, ""
errHandler:
DoCmd.Echo True
Exit Sub
End Sub
report. I had been supplied some code shown below but it is not working.
Private Sub cmdApplicationDataModel_Click()
On Error GoTo errHandler
DoCmd.Echo False, ""
DoCmd.OpenReport "rptRelationship", acViewPreview
DoCmd.Maximize
DoCmd.Echo True, ""
errHandler:
DoCmd.Echo True
Exit Sub
End Sub