PC Review


Reply
Thread Tools Rate Thread

Access DB application fails from CD

 
 
=?Utf-8?B?R3V5IEI=?=
Guest
Posts: n/a
 
      17th Oct 2006
I have a full Access application that works fine on from my built in drive
but there has been a request to have the application run from a CD. Burning
it to CD is fine and having the DB as read only is fine but for some reason
the SQL queries do not work. The call seems to go out but always returns an
empty recordset.

I will look again but I am quite certain that I did not put in absolute
paths in the code as the same DB works fine on another drive as well as from
a netwrok drive.

I quess the real question is if an Access application can be run from a CD.
 
Reply With Quote
 
 
 
 
David F Cox
Guest
Posts: n/a
 
      17th Oct 2006
When a database is opened, file locking is controlled by a locking file.
When you open an .mdb file, Access creates and opens an .ldb locking file. I
believe that this file has to be created in the same directory as the .mdb.
If so it is not possible to run the tables part of the database from a CD.
If you have a split database it might be possible to run the front end from
a CD.


"Guy B" <Guy (E-Mail Removed)> wrote in message
news:ED3E9478-A7C7-47BA-B770-(E-Mail Removed)...
>I have a full Access application that works fine on from my built in drive
> but there has been a request to have the application run from a CD.
> Burning
> it to CD is fine and having the DB as read only is fine but for some
> reason
> the SQL queries do not work. The call seems to go out but always returns
> an
> empty recordset.
>
> I will look again but I am quite certain that I did not put in absolute
> paths in the code as the same DB works fine on another drive as well as
> from
> a netwrok drive.
>
> I quess the real question is if an Access application can be run from a
> CD.
>



 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      17th Oct 2006
Guy B wrote:
> I have a full Access application that works fine on from my built in
> drive but there has been a request to have the application run from a
> CD. Burning it to CD is fine and having the DB as read only is fine
> but for some reason the SQL queries do not work. The call seems to go
> out but always returns an empty recordset.
>
> I will look again but I am quite certain that I did not put in
> absolute paths in the code as the same DB works fine on another drive
> as well as from a netwrok drive.
>
> I quess the real question is if an Access application can be run from
> a CD.


CD's by nature are read only. Access needs read write delete and create
access.

You should be able to copy the file to your HD and change the read only
property to read/write and work with it that way.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a
 
      17th Oct 2006
A temporary file is created in the same folder as the MDB file when it
opens. It cannot create this file on a CD. Copy the file from the CD to
the HD and it will probably run fine.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com





"Guy B" <Guy (E-Mail Removed)> wrote in message
news:ED3E9478-A7C7-47BA-B770-(E-Mail Removed)...
>I have a full Access application that works fine on from my built in drive
> but there has been a request to have the application run from a CD.
> Burning
> it to CD is fine and having the DB as read only is fine but for some
> reason
> the SQL queries do not work. The call seems to go out but always returns
> an
> empty recordset.
>
> I will look again but I am quite certain that I did not put in absolute
> paths in the code as the same DB works fine on another drive as well as
> from
> a netwrok drive.
>
> I quess the real question is if an Access application can be run from a
> CD.



 
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
Application.ActiveExplorer().Selection fails in C# application Rune Jacobsen Microsoft Outlook Interoperability 10 5th Dec 2008 02:46 PM
Access 2003 application fails to start mp112849@hotmail.com Microsoft Access 4 19th Dec 2006 10:09 AM
Application Fails to Open Because Another Application is modifying WIN32 version Functions. John Diener Windows XP Help 2 24th Jun 2004 08:25 PM
Access application fails to repaint JF Microsoft Access 2 9th Dec 2003 06:28 PM
Asp.net web application fails to Access db after surfing for awhile mark Microsoft ASP .NET 2 30th Oct 2003 05:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:20 PM.