How to distribute an Access Database Client with an ODBC connection to Oracle

How to distribute an Access Database Client with an ODBC connection to Oracle

Post by Mark A Lon » Sun, 31 Dec 1899 09:00:00



We have some Access databases that connect to Oracle via ODBC. In the
past we have used a product called Simba that manages all the
connections from a server with a small installation on the client. As we
have built more applications we are finding Simba to be very slow mostly
in the initial connection. And the licensing to be very costly. If I set
up an Oracle 8 ODBC on my local machine the performance is 9 times
faster not to mention cheaper.

So my question is can the set up of a local ODBC be done in some kind of
script perhaps with the Access Developers tool kit? It appears when I
set up my local ODBC some entries are made to a file called ODBC.ini in
the registry. Can this be automated in the developers tool kit?. I don't
want to have to guide 100+ users through the ODBC setup process. Can
Access utilize an ADO connection?

Thanks

 
 
 

How to distribute an Access Database Client with an ODBC connection to Oracle

Post by Maurice Wille » Sun, 31 Dec 1899 09:00:00


A DSN can be completely setup from VBA code.
Start by looking up RegisterDatabase in the help
files.

Hope this helps.


>We have some Access databases that connect to Oracle via ODBC. In the
>past we have used a product called Simba that manages all the
>connections from a server with a small installation on the client. As we
>have built more applications we are finding Simba to be very slow mostly
>in the initial connection. And the licensing to be very costly. If I set
>up an Oracle 8 ODBC on my local machine the performance is 9 times
>faster not to mention cheaper.

>So my question is can the set up of a local ODBC be done in some kind of
>script perhaps with the Access Developers tool kit? It appears when I
>set up my local ODBC some entries are made to a file called ODBC.ini in
>the registry. Can this be automated in the developers tool kit?. I don't
>want to have to guide 100+ users through the ODBC setup process. Can
>Access utilize an ADO connection?

>Thanks


 
 
 

How to distribute an Access Database Client with an ODBC connection to Oracle

Post by Larry Linso » Sun, 31 Dec 1899 09:00:00



 > So my question is can the set up of a local ODBC be done in some
 > kind of script perhaps with the Access Developers tool kit? It
 > appears when I set up my local ODBC some entries are made to a
 > file called ODBC.ini in the registry. Can this be automated in
 > the developers tool kit?. I don't want to have to guide 100+ users
 > through the ODBC setup process. Can Access utilize an ADO connection?

I do some work on a project where Informix is accessed via ODBC from
Access 2, using InterSolv's ODBC drivers. The users all have Access 2
installed, so no runtime is distributed, but there are some third-party
libraries, as well. They (nota bene: I did not do the packaging) use
Wise InstallMaster to package the installation which can be downloaded
or transported on a CD and will install all the needed software,
including the ODBC drivers.

Access 97 can utilize ADO if you use unbound forms, retrieve your
information via code, and duplicate many functions that Access provides
for you with bound forms. Access 2000 can utilize ADO, provided all you
want are the features that actually are available, which are not nearly
all that should be. But you'd be well advised to wait to see what
issues are resolved by the rumored Service Release 1 before jumping
feet first into that tar pit. Why do you ask? Do you think it would be
simpler to lead all those users through installing the MDAC 2.x than it
would be to lead them through installing ODBC?

--
 L. M. (Larry) Linson
  Access example databases at http://homestead.deja.com/user.accdevel
  New: Book reviews, previously published in North Texas PC News
  Script execution must be enabled and Windows set to Small Fonts

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. ODBC client access from Linux for Oracle Database

Hi,

I am running a Redhat Linux 6.2 box, attemping to run
a ODBC 3 client application, which accesses an
Oracle 8.x database on another machine. I'm not having
much luck.

First question - has anybody managed to access an
Oracle database server using ODBC calls from linux?
(obviously not easy given ODBC doesn't come packaged
with linux)

WHAT I'VE DONE SO FAR
I've gone to www.iodbc.org and downloaded, untarred,
and make'd the iODBC Driver manager v3.0.4 BETA
(http://www.iodbc.org/dist/libiodbc-3.0.4.tar.gz).

Doing this enabled me to compile my C++ client
application (which makes use of the sql.h and
sqlext.h headers). In addition I successfully
linked the application.

The next thing I understand I had to do was obtain
an oracle ODBC driver, which strangely enough
Oracle seem to choose not to provide. I tried the
openlink software page referenced from the
iodbc page (http://www.openlinksw.com/). This is
where I start to feel a little confused.

What I don't want is a database on my linux machine.
All I want is the driver that permits me to talk
to an Oracle database.

I tried installing a glibc2 driver, but I keep
getting RPC: Unknown host errors even though the
linux machine can quite happily see (ping) the
database server. Thus I suspect I've done something
wrong with the whole installation thing.

Anyway, if somebody has been through the pain and
trial and error of all this before, I'd like
to hear about it.

Thanks,
Peter

2. SQL2000 IP & Name Change Issues?

3. Microsoft ODBC Connection through Access to an Oracle Database

4. Newbie SQL wan design question

5. Microsoft ODBC Connection through Access to an ORacle database

6. Creating databases and users

7. ODBC database access WITHOUT ODBC software on client?

8. sporadic ISAM not found (NOT ini problem)

9. SQL Connection to Client Access ODBC Datasource

10. Need DSN'less connection to Client Access ODBC Driver

11. Progress and client access ODBC connection

12. DSNLESS CONNECTION FOR CLIENT ACCESS ODBC DRIVER

13. Remote JDBC-ODBC connection from unix client to NT mssql database