PC Review


Reply
Thread Tools Rate Thread

Access 2007, Runtime and DAO

 
 
Woody
Guest
Posts: n/a
 
      30th Dec 2009
I am creating an application that I would like the client to be able to use
via Access 2007 runtime. I have code like the following:

Dim dbCurr As DAO.Database
Set dbCurr as CurrentDB()

The above code works when I have the following reference checked in my VBA
tools References section: Microsoft Office 12.0 Access datagase engine Object.

My question is this: Do I have to do anything special with regard to the
runtime in order for the runtime to make use of the above code? Do I have to
do anything special or can I simply install runtime on a client machine and
copy my application over? I know I have issues to solve with regard to
trusted locations on the client machine, but other than that if I do the
above will things work?




 
Reply With Quote
 
 
 
 
Albert D. Kallal
Guest
Posts: n/a
 
      30th Dec 2009
"Woody" <(E-Mail Removed)> wrote in message
news:B01F8EB1-89D8-4F03-BEF2-(E-Mail Removed)...
>I am creating an application that I would like the client to be able to use
> via Access 2007 runtime. I have code like the following:
>
> Dim dbCurr As DAO.Database
> Set dbCurr as CurrentDB()
>
> The above code works when I have the following reference checked in my VBA
> tools References section: Microsoft Office 12.0 Access datagase engine
> Object.
>


the above looks good...


> My question is this: Do I have to do anything special with regard to the
> runtime in order for the runtime to make use of the above code?


You should be just fine with the above, you don't have to do anything..

> Do I have to
> do anything special or can I simply install runtime on a client machine
> and
> copy my application over? I know I have issues to solve with regard to
> trusted locations on the client machine, but other than that if I do the
> above will things work?


Nothing else need be done. The problem area is often if they have an
different version of access and they use some other access application
based on that different version.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)



>
>
>
>



 
Reply With Quote
 
Tom Wickerath
Guest
Posts: n/a
 
      30th Dec 2009
Woody,

To add a little to Albert's reply, you can click on Start | Run and enter
the following command on your development PC that includes a full version of
Access to simulate the run-time environment:

msaccess /runtime "CompletePathToYourDatabaseWithFileExtension"


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________

"Albert D. Kallal" wrote:

> "Woody" <(E-Mail Removed)> wrote in message
> news:B01F8EB1-89D8-4F03-BEF2-(E-Mail Removed)...
> >I am creating an application that I would like the client to be able to use
> > via Access 2007 runtime. I have code like the following:
> >
> > Dim dbCurr As DAO.Database
> > Set dbCurr as CurrentDB()
> >
> > The above code works when I have the following reference checked in my VBA
> > tools References section: Microsoft Office 12.0 Access datagase engine
> > Object.
> >

>
> the above looks good...
>
>
> > My question is this: Do I have to do anything special with regard to the
> > runtime in order for the runtime to make use of the above code?

>
> You should be just fine with the above, you don't have to do anything..
>
> > Do I have to
> > do anything special or can I simply install runtime on a client machine
> > and
> > copy my application over? I know I have issues to solve with regard to
> > trusted locations on the client machine, but other than that if I do the
> > above will things work?

>
> Nothing else need be done. The problem area is often if they have an
> different version of access and they use some other access application
> based on that different version.
>
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> (E-Mail Removed)

 
Reply With Quote
 
David W. Fenton
Guest
Posts: n/a
 
      30th Dec 2009
=?Utf-8?B?V29vZHk=?= <(E-Mail Removed)> wrote in
news:B01F8EB1-89D8-4F03-BEF2-(E-Mail Removed):

> Dim dbCurr As DAO.Database
> Set dbCurr as CurrentDB()


You probably meant:

Dim dbCurr As DAO.Database
Set dbCurr = CurrentDB()

Otherwise, you'd have gotten a compile error.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
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
Set Form height at Runtime Access 2007 Runtime Sue L. Microsoft Access Form Coding 4 12th Jan 2010 03:17 PM
access 2007 datafile (.mdb) and access 2003 runtime problem? babybleu Microsoft Access 5 11th Aug 2009 03:08 AM
Why windows Installer go always when I start access 2003 or access runtime 2007 applications Bob Microsoft Access 1 18th Apr 2009 08:18 PM
Form works in Access 2007, but not the 2007 Runtime Mike Microsoft Access Forms 0 23rd Apr 2008 07:23 PM
Access 2007 Install Broke Access 2000 Runtime David F. Microsoft Access 0 18th Jul 2007 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:56 PM.