Hello all,
Currently we are implementing an Access database which has to send some (not
much) data over a WAN. We are using an Access front end and an Access back
end. Basicly the front end runs local, but at the end of the session the
front end needs to write the data to the back end on the WAN.
The responsible IT manager asked me to use a ODBC linkage between the
database, since this sends smalles packages of data (which minimizes the
time out failure) instead of linking it directly (he told me that when a
drive mapping is done, the virus scanning causes to much data traffic). I
don't know if these assumptions are correct.
Since i'm no network specialist: Is it possible to create a ODBC on the
server and link it on the front end side? And more important: how does it
work? Has any body some ideas or literature for this kind of operation. When
I create a ODBC (system or/and DNS) and I want to link it in my Access
database I get a error that now data can be linked through a ODBC (it also
mentioned ISAM in it's error description, i don;t have it on me currently).
When I use my ODBC in Excel it works great, so the ODBC is fine, it only
doesn't work on a Acces front end?
I'm aware that an Access database is not the ideal backend source for this
kind of operation, but for now it has to do...in the nearby future we will
implement a DBMS.
Any help would be gladly appreciated,
Remco Groot Beumer
Holland 12 4241
Access cannot use ODBC to communicate between MDB files.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(No private e-mails, please)
"Remco Groot Beumer" <in**@rgbplus.nl> wrote in message
news:c5**********@news3.tilbu1.nb.home.nl... Hello all,
Currently we are implementing an Access database which has to send some
(not much) data over a WAN. We are using an Access front end and an Access back end. Basicly the front end runs local, but at the end of the session the front end needs to write the data to the back end on the WAN. The responsible IT manager asked me to use a ODBC linkage between the database, since this sends smalles packages of data (which minimizes the time out failure) instead of linking it directly (he told me that when a drive mapping is done, the virus scanning causes to much data traffic). I don't know if these assumptions are correct. Since i'm no network specialist: Is it possible to create a ODBC on the server and link it on the front end side? And more important: how does it work? Has any body some ideas or literature for this kind of operation.
When I create a ODBC (system or/and DNS) and I want to link it in my Access database I get a error that now data can be linked through a ODBC (it also mentioned ISAM in it's error description, i don;t have it on me
currently). When I use my ODBC in Excel it works great, so the ODBC is fine, it only doesn't work on a Acces front end?
I'm aware that an Access database is not the ideal backend source for this kind of operation, but for now it has to do...in the nearby future we will implement a DBMS.
Any help would be gladly appreciated,
Remco Groot Beumer Holland
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message
news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (No private e-mails, please)
Can you not use ADO from within an .mdb file to communicate with
another .mdb file via ODBC?
"rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message
news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC?
If you're willing to do everything through VBA, then yes, you can do that
(you can even query Access 2000 databases from Access 97 that way). That
means, though, that you're severely limited in terms of what you can do in
the Access front-end.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(No private e-mails, please)
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message
news:bp*******************@news01.bloor.is.net.cab le.rogers.com... "rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC?
If you're willing to do everything through VBA, then yes, you can do that (you can even query Access 2000 databases from Access 97 that way). That means, though, that you're severely limited in terms of what you can do in the Access front-end.
Well, the op only wanted to write data to the backend via ODBC so
ADO would be a solution. I guess not everything can be GUI driven
and automagical.
"Remco Groot Beumer" <in**@rgbplus.nl> wrote in
news:c5**********@news3.tilbu1.nb.home.nl: Currently we are implementing an Access database which has to send some (not much) data over a WAN. We are using an Access front end and an Access back end. Basicly the front end runs local, but at the end of the session the front end needs to write the data to the back end on the WAN. The responsible IT manager asked me to use a ODBC linkage between the database, since this sends smalles packages of data (which minimizes the time out failure) instead of linking it directly (he told me that when a drive mapping is done, the virus scanning causes to much data traffic). I don't know if these assumptions are correct. Since i'm no network specialist: Is it possible to create a ODBC on the server and link it on the front end side? And more important: how does it work? Has any body some ideas or literature for this kind of operation. When I create a ODBC (system or/and DNS) and I want to link it in my Access database I get a error that now data can be linked through a ODBC (it also mentioned ISAM in it's error description, i don;t have it on me currently). When I use my ODBC in Excel it works great, so the ODBC is fine, it only doesn't work on a Acces front end?
I'm aware that an Access database is not the ideal backend source for this kind of operation, but for now it has to do...in the nearby future we will implement a DBMS.
Plain old ODBC won't work. ADO might work, but on a WAN, I wouldn't
recommend it.
Replication is another option as it actually matches the problem
description your boss gave you. However, Jet replication is *not*
for the faint of heart -- it has a steep learning curve and for
synchronizing over a WAN, you'd definitely need to use indirect
replication, which requires the Developer Edition (which comes with
Replication Manager and the low-level tools for implementing
indirect replication).
Another option would be to simply export the data required, get it
to the remote machine and then let that machine import it.
BTW, the "mapped drive letter" issue is a read herring, as you don't
have to map a drive letter to get access to files on your network.
UNC paths (of the form \\ServerName\ShareName\File.mdb) work just
fine. But on a WAN, that would nonetheless be a disaster waiting to
happen (though it depends on the total bandwidth -- anything
approaching 10mbps that is reliable would probably be safe).
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
"rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message
news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (No private e-mails, please)
Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC?
I'm puzzled. How can I communicate from one .mdb to another .mdb via ODBC,
even using ADO?
"Randy Harris" <ra***@SpamFree.com> wrote in message
news:Ye**************@newssvr15.news.prodigy.com.. . "rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC?
I'm puzzled. How can I communicate from one .mdb to another .mdb via
ODBC, even using ADO?
Carl Prothman has all sorts of ADO connection strings posted at http://www.able-consulting.com/ado_conn.htm including some that use ODBC
rather than Ole DB. As I indicated elsewhere in this thread, I've
successfully used this approach to read data from an Access 2000 database
from Access 97. It is, however, quite limited in terms of what you can do.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(No private e-mails, please)
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message
news:JM*******************@news01.bloor.is.net.cab le.rogers.com... "Randy Harris" <ra***@SpamFree.com> wrote in message news:Ye**************@newssvr15.news.prodigy.com.. . "rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in
message news:r5********************@twister01.bloor.is.net .cable.rogers.com... > Access cannot use ODBC to communicate between MDB files. >
Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC? I'm puzzled. How can I communicate from one .mdb to another .mdb via
ODBC, even using ADO?
Carl Prothman has all sorts of ADO connection strings posted at http://www.able-consulting.com/ado_conn.htm including some that use ODBC rather than Ole DB. As I indicated elsewhere in this thread, I've successfully used this approach to read data from an Access 2000 database from Access 97. It is, however, quite limited in terms of what you can do.
Sorry, I'm still trying to understand. I searched Carl's site, all of the
examples show local access to the .mdb (even when the .mdb is on a network
share), except for ASP server and MS Remote. He has this posted there as
well:
if MDB is located on a remote machine
- Or use an XML Web Service via SOAP Toolkit or ASP.NET
- Or upgrade to SQL Server and use an IP connection string
- Or use an ADO URL with a remote ASP web page
- Or use a MS Remote or RDS connection string
Is there a means of accessing data in a .mdb from a remote system other than
by use of a web server?
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (No private e-mails, please)
"rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message
news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (No private e-mails, please)
Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC?
Yes, you can setup and use a odbc connection string. However, you are NOT
communicating across the network using odbc. What happens is the following:
ADO---->ADO ODBC DRIVER---> DAO JET engine -->jet opens file
\\servername\mydata.mdb
Note how JET is STILL getting a fully qualified path name to the back end.
So, yea..you are using odbc to connect to JET...but then jet is simply
opening the file across the network. This simply means that yes..you are
using odbc to connect to JET..but then jet uses the standard file share
ACROSS the network. (you are NOT sending sql across the network..since ONLY
a file share exists on the other end!).
So, no..you can't use odbc to connect to access database on another
computer. You can certainly specify a odbc connection...but then you are
telling JET in a different way to open the same file.
In all cases..you are still using a file share..and the file is being opened
ACROSS the network. There is NO performance advantage to this over a simple
linked table as a file share. Either way...jet opens the file across the
connection. Either way, the JET library and code resides on the CLIENT
COMPUTER.
So, the virus software..and all other stuff that occurs will STILL occur!
You can read the following article of mine as to why you can't use a wan: http://www.attcanada.net/~kallal.msn/Wan/Wans.html
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada pl******************@msn.com http://www.attcanada.net/~kallal.msn
"Randy Harris" <ra***@SpamFree.com> wrote in message
news:tk***************@newssvr15.news.prodigy.com. .. I'm puzzled. How can I communicate from one .mdb to another .mdb via ODBC. even using ADO? Carl Prothman has all sorts of ADO connection strings posted at http://www.able-consulting.com/ado_conn.htm including some that use ODBC rather than Ole DB. As I indicated elsewhere in this thread, I've successfully used this approach to read data from an Access 2000
database from Access 97. It is, however, quite limited in terms of what you can
do.
Sorry, I'm still trying to understand. I searched Carl's site, all of the examples show local access to the .mdb (even when the .mdb is on a network share), except for ASP server and MS Remote. He has this posted there as well:
if MDB is located on a remote machine - Or use an XML Web Service via SOAP Toolkit or ASP.NET - Or upgrade to SQL Server and use an IP connection string - Or use an ADO URL with a remote ASP web page - Or use a MS Remote or RDS connection string
Is there a means of accessing data in a .mdb from a remote system other
than by use of a web server?
See Albert's explanation.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(No private e-mails, please)
Albert, thanks very much for the clarification.
Randy
"Albert D. Kallal" <pl********************@msn.com> wrote in message
news:7rpec.84631$Ig.68131@pd7tw2no... "rkc" <rk*@yabba.dabba.do.rochester.rr.bomb> wrote in message news:Vb*******************@twister.nyroc.rr.com... "Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:r5********************@twister01.bloor.is.net .cable.rogers.com... Access cannot use ODBC to communicate between MDB files.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (No private e-mails, please) Can you not use ADO from within an .mdb file to communicate with another .mdb file via ODBC?
Yes, you can setup and use a odbc connection string. However, you are NOT communicating across the network using odbc. What happens is the
following:
ADO---->ADO ODBC DRIVER---> DAO JET engine -->jet opens file \\servername\mydata.mdb
Note how JET is STILL getting a fully qualified path name to the back end. So, yea..you are using odbc to connect to JET...but then jet is simply opening the file across the network. This simply means that yes..you are using odbc to connect to JET..but then jet uses the standard file share ACROSS the network. (you are NOT sending sql across the network..since
ONLY a file share exists on the other end!).
So, no..you can't use odbc to connect to access database on another computer. You can certainly specify a odbc connection...but then you are telling JET in a different way to open the same file.
In all cases..you are still using a file share..and the file is being
opened ACROSS the network. There is NO performance advantage to this over a
simple linked table as a file share. Either way...jet opens the file across the connection. Either way, the JET library and code resides on the CLIENT COMPUTER.
So, the virus software..and all other stuff that occurs will STILL occur!
You can read the following article of mine as to why you can't use a wan:
http://www.attcanada.net/~kallal.msn/Wan/Wans.html
-- Albert D. Kallal (MVP) Edmonton, Alberta Canada pl******************@msn.com http://www.attcanada.net/~kallal.msn
"Remco Groot Beumer" wrote Is it possible to create a ODBC on the server and link it on the front end side?
As others have pointed out, Albert's being the "telling point", you
don't gain anything by using ODBC, and I have never seen any
Access-Jet lashup that would work over a WAN with any consistency and
reliability, except one.
That one used an application at each end, communicating through
Winsock... so the communication was not from the remote application to
the database, it was from the remote application to another
application, could send just the data needed to identify and update
the record, and the update was done locally by the application that
received the data. In the specific case I observed, it was two VB
applications, but as far as I know, you can use WinSock via API from
Access itself if you wish. You might find some information about this
at http://www.wolfwares.com -- the site owner is the one who
implemented it.
You could categorize this approach as using Access to implement your
own, little very specialized client-server system.
Larry Linson
Microsoft Access MVP This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tom Jones |
last post by:
I need to access databases on both win2k and Linux systems but I have to set
up the DSNs under program control ... no uses using GUIs ...
Has anyone done this? if so can we discuss it either in...
|
by: Andreas Lauffer |
last post by:
I changed from Access97 to AccessXP and I have immense performance
problems.
Details:
- Access XP MDB with Jet 4.0 ( no ADP-Project )
- Linked Tables to SQL-Server 2000 over ODBC
I used...
|
by: Remco Groot Beumer |
last post by:
Hello all,
Currently we are implementing an Access database which has to send some (not
much) data over a WAN. We are using an Access front end and an Access back
end. Basicly the front end runs...
|
by: Abhi |
last post by:
FYI:
This message is for the benefit of MS Access Community. I found that
this prblem has been encounterd by many but there is hardly any place
where a complete solution is posted. So I thought...
|
by: mattias192 |
last post by:
I cannot make sense of the ODBC error messages my VBA application
throws at me. I connect to an Access database of about 500MB in size.
First, there is the "Not enough space on temporary disk"....
|
by: byrocat |
last post by:
Up until now, I've been working with V& DB2 UDB databases, using
Embarcadero DBArtisan as my GUI tool. I also have other tools that I
use in my day-to-day job so running directly on the server via...
|
by: Phil Reynolds |
last post by:
We are using SQL Server as a back end to an Access front end on a LAN using
ODBC linked tables. Users are periodically getting the "data has been
changed by another user" error, and it's causing...
|
by: Gary |
last post by:
Hello guys!
Bear with me, I am a newbie.
She is the Data Warehouse manager. She has about 50 users to use the
Oracle database from M$ Access via ODBC connection. All those users
have only...
|
by: mikerudy |
last post by:
I have an 3rd-party application that uses a SQL back-end, but uses
Access 2000 (linked tables all using the same DSN) as an
intermediary. We recently upgraded from SQL 7 to SQL 2005, which went...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
| |