scotthellewell
Programmer
I am trying to open up an Access .adp and open a report in it. It works great in Access, but when I try running the file on the runtime version I get the following error message.
License Information for this component not found. You do not have an appropriate license to use this functionality in the design environment.
The line of vba code that causes the error is
I have also tried
They both give the same error message. I have used msgboxes to make sure which exactly line gives the error. What other ways could you upen up a report/form that is in another adp. The adp files tie to a sql server.
Thanks
Scott Hellewell
License Information for this component not found. You do not have an appropriate license to use this functionality in the design environment.
The line of vba code that causes the error is
Code:
Dim AccAppExtRep As New Access.Application
AccAppExtRep.OpenAccessProject "FileName.adp, False
I have also tried
Code:
Set AccAppExtRep = GetObject "FileName.adp", "Access.Application")
They both give the same error message. I have used msgboxes to make sure which exactly line gives the error. What other ways could you upen up a report/form that is in another adp. The adp files tie to a sql server.
Thanks
Scott Hellewell