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) 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 ?
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. 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
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.
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
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.
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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.
|
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. ...
|
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...
|
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*
| |
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...
|
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...
|
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...
|
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)...
|
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...
|
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: 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,...
|
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...
|
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: 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...
|
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: 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...
| |