I built a DB in AC2010, everything works fine. Except, when I try to use AC2003. When I try to open the reoprts in AC2003 it wants to just print them. Cant open them to just view. Here is the code I have on the button that is supposed to open the report....
Code:
Private Sub OpensNightsWorkQueryReport_Click()
On Error GoTo Err_OpensNightsWorkQueryReport_Click
Dim stDocName As String
stDocName = "NightsWorkQueryReport"
DoCmd.OpenReport stDocName, acViewReport
Exit_OpensNightsWorkQueryReport_Click:
Exit Sub
Err_OpensNightsWorkQueryReport_Click:
MsgBox Err.Description
Resume Exit_OpensNightsWorkQueryReport_Click
End Sub
Help please!!