Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2000 Runtime problems

Status
Not open for further replies.

scotthellewell

Programmer
Jan 21, 2002
4
US
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

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top