Gary2397
asked on
Can't Open Access Reports
I have a vb6 application that opens some reports created in Access. The application works fine, except when I package and deploy the application, I can't view the reports from the machine in which it was installed. This is the code that opens the reports:
With AccessApp
.OpenCurrentDatabase "\\server\Shared\SomeFolde r\MyDb.mdb "
.RunCommand acCmdWindowHide
.RunCommand acCmdAppMaximize
.DoCmd.OpenReport cmbReports.Text, acViewPreview
.DoCmd.Maximize
End With
On Error Resume Next
Set AccessApp = New Access.Application
I can manually locate the Access database and open the reports on the machine that the application is installed, but the application will not open the reports. Any Help?
With AccessApp
.OpenCurrentDatabase "\\server\Shared\SomeFolde
.RunCommand acCmdWindowHide
.RunCommand acCmdAppMaximize
.DoCmd.OpenReport cmbReports.Text, acViewPreview
.DoCmd.Maximize
End With
On Error Resume Next
Set AccessApp = New Access.Application
I can manually locate the Access database and open the reports on the machine that the application is installed, but the application will not open the reports. Any Help?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER