PC Review


Reply
Thread Tools Rate Thread

Question to Access runtime environment

 
 
Robert Langen
Guest
Posts: n/a
 
      25th May 2004
Hello!

I want to call an Access .mdb application from an Excel macro:

Sub StartAccess()

Dim acApp As Object



Set acApp = CreateObject("Application.Access.10")

acApp.OpenCurrentDatabase ("c:\reports.mdb")

acApp.DoCmd.OpenForm "Schedule"

End Sub



It works when a full Access is installed, but doesn't work with the Access
runtime environment. The following message appears:



License information for the component not found. You donīt have the
permission to use this functionality in the design environment.



Of course it's not possible to design any Access element, such as forms or
reports, in the runtime environment. But I only want to call an existing
..mdb, just like calling a .mde file, where designing forms or reports is not
possible, too.



Robert




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access runtime question Joost Microsoft Access 0 8th Dec 2005 10:28 AM
Compacting Access 2003 in runtime license only environment =?Utf-8?B?TWFyayBBbW90aA==?= Microsoft Access 2 31st Aug 2005 02:17 PM
Access pivot tables in Access runtime environment =?Utf-8?B?QW51bmQgTG9kZGVu?= Microsoft Access Forms 0 15th Sep 2004 12:59 PM
How to make Access be in runtime environment. Albert Microsoft Access VBA Modules 1 10th Jan 2004 04:35 AM
Access Runtime Question Creative Door Microsoft Access 7 26th Nov 2003 04:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 PM.