I am using following code to view preview of a report built in MS Access.
But appAccess.Visible opens the main MS Access window along with my database. I just want to view preview.
Secondly, which one is easy for reporting, MS Access Reports or Crystal Reports.
Code:
Dim appAccess As Access.Application
Set appAccess = New Access.Application
appAccess.Visible = True
appAccess.OpenCurrentDatabase App.Path & "\data\eticketxp.mdb", True, "DevelopeR"
appAccess.DoCmd.OpenReport "TestReport", acPreview, , "myOptionalCondition"
appAccess.Quit
Set appAccess = Nothing
But appAccess.Visible opens the main MS Access window along with my database. I just want to view preview.
Secondly, which one is easy for reporting, MS Access Reports or Crystal Reports.