Re: opening access reports
Is it opened by your app or another shared user?
Re: opening access reports
Re: opening access reports
You should be able to open the reports for displaying if you have Access installed. Can you post your code?
Re: opening access reports
Code:
Dim AppAccess As Access.Application
Set AppAccess = New Access.Application
AppAccess.Visible = True
With AppAccess
.OpenCurrentDatabase "c:\database.mdb"
.RunCommand acCmdWindowHide
.RunCommand acCmdAppMaximize
.DoCmd.OpenReport "Manual", acViewPreview
End With
Re: opening access reports
And thats giving you the error? What does it say?
Re: opening access reports
hehe, it works, I really don't know why, I use to get permission denied message, saying it was already open by another user.
Re: opening access reports
Could have been from debuggin, left an instance running or access.
Re: opening access reports
its strange, because at uni it refuses to work, I have checked to see if acess was running via the task manager etc
but still get a a message saying the database is in use by another user, which should be me.