Hi
This is a "problem" I've been battling for many days and haven't been able to understand; various postings I've come across on the Internet seem to not quite provide the answer.
We have a commercial (membership database) application written around Access 2002 and we are using Access 2003 to run it on Server 2003 (64 bit), and 32 bit XP Pro. The database file is locked in some way so that it can't be opened within Access, even when using Shift key and F11 - it shows only an About message and a File/Exit menu. However we can create a new database file, link to the tables, and do anything we want except change the structure. This is sufficient for us to extend the application to fit our needs provided we work withing Access.
We are under pressure to break out of the limitations of Access and we would like to rewrite the application extension using more flexible languages and tools. However when we try to connect to this database using ODBC we get messages saying that we don't have read permission. Using OpenOffice.org Base as a test utility, we can open the file directly, connect through ODBC, and connect through ADO using Jet 4 OLE DB and ODBC OLE DB. We've tried this on the original file and also on one with linked tables. The table names are all shown but always the following error occurs when an SQL read is attempted:
SQL Status: 3112
Error code: -2147217911
(not sure if this is specific to OpenOffice).
Does anyone have an idea why we can't open the tables externally, and is there a way around this? I don't have a great deal of database experience apart from a bit of macro and VB coding in Access, so some guidance would be really appreciated.
cheers, Ken Sarkies
Holy Trinity Adelaide
3 2089
As to the first portion of your question, many commercial Access apps are converted from the .mdb type file to the .mde type file,making them behave in just the manner you've described. That's because most the developers of commercial databases (and by that I mean "off-the-rack" software, not custom written for your company) don't want you messing with the structure! The chances are that haven't paid for that priviledge! If you check your EULA and/or documentation, you'll probably see this stated somewhere. You've paid to use the database, you haven't bought it! The data is your property, of course, and you can access it, as you've found out! You could even have someone write you a new Access database, utilizing the data.
Theway to check this isto go into Windows Explorer and check the extension.
Welcome to TheScripts!
Linq ;0)>
Thanks for the reply Linq. The database has the extension mdb. We are aware that the authors don't want us to mess with the structure or code, and we are not really interested in doing that - changing the structure would kill any chances of being able to update the software (this is only the database file - the code file is separate). We simply need to be able to make use of the stored data to extend the application to our particular needs. The authors in fact encourage this as they have only provided a core functionality. Nevertheless we have gotten to the point of complexity where we either rebuild what we have done in VB within Access, or break out to freedom.
cheers, Ken
Actually I wonder if they have just changed the extension from MDE to MDB? I note that creating an MDE separates out the code, which appears to be what is done with this application.
Anyway the issue still is accessing the database through ODBC or ADO - is this not possible if it were an MDE?
Ken
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Allcomp |
last post by:
Hello,
I try to make a backup of a access database.
To make it, I make a Filecopy, but some of my custommers have a problem :
They work at 2 or 3 on the database, but when a user want to make a backup
and another one is working on the database (exclusively locked), the backup
is bad : when a user want to use the backup, he has the message telling
that the database is locked by another user.
Is there something to force the users out of...
|
by: Wayne Aprato |
last post by:
I have a simple database which was originally written in Access 97.
When converted to Access 2000 file format it ran flawlessly in Access
2002. I've just tried to run it in Access 2003 and I am seeing the
following behaviour:
Some of the fields on the continuous main form which is a list of jobs
with their related details "flicker". While this is going on the form
seems to function as it should and isn't locked up. If I click and
hold...
|
by: Kenneth Courville |
last post by:
Hello, I'm looking for assistance with the Access object model. I know
this is VB, but I'm building an Office Add-using C# directed at Access
2002. I'm literate in VB, so you can reply in VB... I think my problem
mainly lies in knowing the quirks of the Access object model.
Basically, I'm looking for a method of determining if an Access database
is open yet. AND I'm looking for a method that doesn't not require
checking for an...
|
by: Jeff Richardson |
last post by:
I am creating a web service that returns data from an Access 2000 database
using VS2005. The Access database is located on a different server than
where the web service is running. The Access database is also opened by a
different desktop application running on various workstations on the
network.
While developing / debugging the web service is hosted on my development
machine using the 'ASP.NET Development Server' that is included...
|
by: Dave Booker |
last post by:
I am reading a text file using StreamReader. If while I have that stream
open I open the underlying text file in, say, Excel, Excel will announce that
the file is locked for reading and will offer to open it in Read-Only mode.
But if I do that, then my StreamReader immediately throws a
System.IO.IOException announcing, "The process cannot access the file because
another process has locked a portion of the file."
How can I access a...
| |
by: bhcob1 |
last post by:
Hi, Whenever I delete a record my command button, the record deletes, a list displaying all records is updated and then a message box appears:
Microsoft Access can't find the field 'I' referred to in your expression
It only has the option of clicking 'OK', when I do this everything is fine again.
I would like to know what is going on and how to fix this problem. Below is parts of the code that I believe the problem is in.
The form is...
|
by: chaseexchange |
last post by:
First, a brief explanation of why this has happened. I purchased, what
I thought, was a fully functional program written in Access last year
from a local programmer. This program was to be used as my POS for an
online DVD store. It turns out that what the programmer actually gave
me was a "license" to use his software. This was not the agreement we
made, and he knows this. He took advantage of the fact that I knew
very little about...
|
by: dixcyn04 |
last post by:
Ok, now I've run into another little hiccup in my application. The ability to update records already in existance. What is bugging me about this, is the code I will submit was what I found on forums and suggestions here and there on the Internet and very similiar to what is suggested on this forum too.
I've begun toi regret not having SQL Server for this little exercise I am coding since much of the code I have written in the past worked just...
|
by: siewong |
last post by:
Existing Access Database Troubleshooting
I am new to access database and inherited an access application and
all users who were previously able to use this access file
simulataneously are now locked out exclusively . Some have not been
able to get on at all. Obviously, this is the problem, and as far as I
know, no changes have been made to access backend or front end. I have
no historical data as to whether or not the access db was...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |