473,699 Members | 2,518 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I access data from MS Access?

How to access data from MS Access? I tried ADOdb for Python but it
doesn't seems to work.

Even the official examples dont work, like this one:

import adodb
conn = adodb.NewADOCon nection('access ') # mxodbc required
dsn = "Driver={Micros oft Access Driver (*.mdb)};Dbq=d: \\inetpub\\adod b\
\northwind.mdb; "
conn.Connect(ds n)
(I have downloaded mxodbc, but still it doesn't works)

Feb 3 '07 #1
7 1983
Fi************@ gmail.com a écrit :
How to access data from MS Access? I tried ADOdb for Python but it
doesn't seems to work.

Even the official examples dont work, like this one:

import adodb
conn = adodb.NewADOCon nection('access ') # mxodbc required
dsn = "Driver={Micros oft Access Driver (*.mdb)};Dbq=d: \\inetpub\\adod b\
\northwind.mdb; "
conn.Connect(ds n)
(I have downloaded mxodbc, but still it doesn't works)
"doesn't work" is the worst possible description of a problem. Did it
print out some insults in a foreign language ? wipe out your HD ? Else ?
Feb 3 '07 #2
On Feb 3, 10:27 pm, Bruno Desthuilliers
<bdesth.quelque ch...@free.quel quepart.frwrote :
Finger.Octo...@ gmail.com a écrit :How to access data from MS Access? I tried ADOdb for Python but it
doesn't seems to work.
Even the official examples dont work, like this one:
import adodb
conn = adodb.NewADOCon nection('access ') # mxodbc required
dsn = "Driver={Micros oft Access Driver (*.mdb)};Dbq=d: \\inetpub\\adod b\
\northwind.mdb; "
conn.Connect(ds n)
(I have downloaded mxodbc, but still it doesn't works)

"doesn't work" is the worst possible description of a problem. Did it
print out some insults in a foreign language ? wipe out your HD ? Else ?
I havn't said "doesn't work", I rather doesn't seem to work.

Feb 3 '07 #3
Fi************@ gmail.com wrote:
On Feb 3, 10:27 pm, Bruno Desthuilliers
>"doesn't work" is the worst possible description of a problem. Did it
print out some insults in a foreign language ? wipe out your HD ? Else ?
I havn't said "doesn't work", I rather doesn't seem to work.
Bruno, admit that you were wrong. Finger.Octopus is able to give a
description that is even worse than what you deemed possible :-)

Peter
Feb 3 '07 #4
Peter Otten a écrit :
Fi************@ gmail.com wrote:

>>On Feb 3, 10:27 pm, Bruno Desthuilliers

>>>"doesn't work" is the worst possible description of a problem. Did it
print out some insults in a foreign language ? wipe out your HD ? Else ?


>>I havn't said "doesn't work", I rather doesn't seem to work.


Bruno, admit that you were wrong. Finger.Octopus is able to give a
description that is even worse than what you deemed possible :-)
Peter, I sadly admit that I was wrong. "Doesn't seem to work" is
effectivly even more useless than "doesn't work". I give up.

Feb 4 '07 #5
Bruno Desthuilliers <bd************ *****@free.quel quepart.frwrite s:
I sadly admit that I was wrong. "Doesn't seem to work" is effectivly
even more useless than "doesn't work". I give up.
+1 QOTW

--
\ "You can't have everything; where would you put it?" -- Steven |
`\ Wright |
_o__) |
Ben Finney

Feb 4 '07 #6
On 3 Feb, 15:43, Finger.Octo...@ gmail.com wrote:
How to access data from MS Access?
Can you access Access from Access ? from Excel / Visual Basic / SQL
Query? First of all check that the DSN is working and connects to the
back end MDB. This might not be Python's problem.

Secondly check whatever errors you're being returned.

Feb 5 '07 #7
On Feb 5, 4:52 am, "Andy Dingley" <ding...@codesm iths.comwrote:
On 3 Feb, 15:43, Finger.Octo...@ gmail.com wrote:
How to access data from MS Access?

First of all check that the DSN is working and connects to the
back end MDB. This might not be Python's problem.

Secondly check whatever errors you're being returned.
Yes, and then move onto something like this:

http://www.freelance-developer.com/howto_odbcpy

rd

"Give a man a fire and keep him warm for a day. Light a man on fire
and he will be warm for rest of his life."

--Terry Pratchett
Feb 6 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5402
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access Application Block (DAAB) in our .Net projects. We use SqlHelper in SQL based projects, and OracleHelper in Oracle based ones. OracleHelper was not published officially by Microsoft as part of the DAAB but it was given as a helper code in a sample .Net...
63
5906
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
9
3173
by: WalterR | last post by:
This is my first time here, so there may be earlier relevant threads of which I am unaware. Though my experience with DB2 is not extensive, such as it is was under OS/390 or equ. My main experience is IMS DB, which leads to my question. In IMS, there is an HDAM access method which can find a record without using an index as such. At initial database load, it first formats the entire space allocation into blocks of the given size. ...
49
14340
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The application is relatively big: around 200 tables, 200 forms and sub-forms, 150 queries and 150 repports, 5GB of data (SQL Server 2000), 40 users. I'm wondering what are the disadvantages of using Access as front-end? Other that it's not...
20
3334
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to speed. I like books with practical exercises, and also with test questions (like cert books) *2*
9
3311
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for >people moving from power user to developer, but now I suggest you browse >it, >too. It strongly emphasizes ADO, which knowledgeable Microsoft insiders no >longer recommend, and the Access ADP client to SQL Server. He writes well, >and is a good...
17
2486
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a thousand items and the accounting side will be used for hopefully many years so the entries are likely to be vast. The delema is what is best to use ase the DB engine, Access I have as part of Office 2002 or should I really be looking at SQL...
5
2913
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a front end to SQL server if we ever needed to go that route. But - is there a client/server version of Access ? Looking on the CDW site there is a bewildering variety of packages and licences and such, but we can't figure out just which do...
17
4408
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server database, just native jet database mdb created on Access 2003 (default 2000)...
21
4095
by: nihad.nasim | last post by:
Hi there, I have a database in Access that I need on the web. The web page should connect to the database and write records for certain tables and view records for others. I want to know a reliable way of connecting Access to a server. I am willing to switch to any version of Access which might solve the problem. Which server would you recommend and what are the advanatages and disadvantatges of the server you propose? Please also inlcude...
0
8685
marktang
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...
0
8613
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7745
agi2029
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...
1
6532
isladogs
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...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3054
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
3
2008
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.