This is the first time I've tried to use the OpenReport from within a
VB application and from all that I've seen this should be working,
but even though I can not preview the screen. Here's the code that
I'm talking about...
Dim AccessApp As New Access.Application
With AccessApp
.OpenCurrentDatabase(DBC.DBString)
.RunCommand(Access.AcCommand.acCmdWindowHide)
.RunCommand(Access.AcCommand.acCmdAppMaximize)
.DoCmd.OpenReport("Report_For_2007",
Access.AcView.acViewPreview)
End With
The problem here is that I can not preview the report, NOTHING shows
up. However if I change the acViewPreview to the acViewNormal the
report prints.
So my question is, how do I see the report first?
I hope someone out there can help with this and thank you.
Frank