473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Possible to query distant Access database?

Hello everybody,

I'm developing a system for a company that has production at two different
locations. The production is stored in an Access database at each location,
and I need to find a way to fetch data from both these databases and present
them to the boss (who is at one of the locations).

I've built a report generator in Excel (using VBA) that fetches data via
ODBC from the database that's located in the same building. However, I need
to find a way to get the data from the other distant database also...
My original thought was be to somehow open up the correct port (does anybody
know what port though?) and set up an ODBC-connection using the IP-adress of
the distant computer that holds the other database.

Is this a feasible solution though? Can it be done? Or is there a smarter
way?

Thank you in advance everybody!

Peter Larsson
Nov 12 '05 #1
4 2814
To get data from the remote location, you will need to be able to browse to
that folder on the remote machine.

You don't mention if there is a existing network connection between the two
locations.

If you don't have a constant connection you could even consider having the
people zip, and then email the file on a regular bases to you. ms-access
databases compress extremely well. I use www.winzip.com.
So, while your Excel can connect the access database, Excel still needs to
be able to browse to the folder on the that remote pc. A VPN (virtual
private network) could be setup that allows you to get access to the folder
on the remote pc. However, this can be slow, also you don't want to write
data to the remote location across a VPN.

Another possibility is to use replication. Replication is a process where
databases can connect and exchange data. However, it sounds like you only
need to get data from that remote location, and not actually update data.

Much will depend on what you have for a connection between the two
locations. However, trying to use ms-access over any type of connection that
is not first rate does involved some risk.

You can read some thoughts of mine on networking ms-access.

http://www.attcanada.net/~kallal.msn/Wan/Wans.html

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
ka****@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #2
Hi ,
Let me tell you an amazing story...

Do not throw this mail away before you have read it. You have all to win and
nothing to loose. Here is a chance to earn a lot of money with no costs so
ever, and no obligations. So why not read the rest of this story and then,
if you think that this business is nothing for you? Throw this mail away
or...give it a try.

In this letter there is a part that tells you about the legalities of this
process. A part that tells of glamour stories, and a part that explains how
this "madness" actually works. The only part you truly have to concern
yourself with is the instructions. Follow the instructions carefully and you
can see how five dollars, probability, and multiplication will work to make
you thousands. I know it sounds too easy, I thought so too, but my advice to
you is...read on, what do you have to lose?
THE FORWARDED LETTER

Dear Friends: Greetings: I am a retired attorney. A few years ago a man came
to me with a letter. He asked me to verify the fact that this was legal to
do. I told him I would review it and get back to him. When I first read the
letter my client brought me, I thought it was some "off-the-wall" idea to
make money. A week and a half later we met in my office to discuss the
issue. I told him the letter he originally brought me was not 100% legal. My
client then asked me to alter it to make it perfectly legal. I asked him to
make one small change in the letter. I was still curious about the letter,
so he explained to me how it works. I thought it seemed like a long shot, so
I decided against participating. But before my client left, I asked him to
keep me updated on his results. About two months later, he called me to tell
me he had received over $800,000 in cash. I didn't believe him, so he asked
me to try this idea and find out for myself. I thought about it for a couple
of days and decided I really didn't have anything to lose, so I asked him
for a copy of the letters. I followed the instructions exactly, mailed 200
copies, and sure enough, the money started coming in! It arrived slowly at
first, but coming. I kept a precise record of the earnings, and in the end,
it totalled $978,493! I could hardly believe it. I met with my friend for
lunch to find out exactly how it worked. My part in this was to give my help
to him, making sure that the whole thing was legal, since no one wants to
take the risk of doing something illegal.

By now you are surely curious to know what small changes to make. If you
sent a letter like this one out, in order to be completely legal, you must
actually sell something in order to receive a dollar in return. So when you
send a dollar to each of the names on the list, you must include these words
in the message-box, "PLEASE PUT ME ON YOUR MAILING LIST" and include your
name and emailaddress. The item you will receive for the dollar you sent to
the five people below is the message with the request.

At the time I first tried this idea, I was earning a good living as a
lawyer. But everyone in the legal profession will tell you there is a lot of
stress that comes with the job. I told myself if things worked out, I would
retire from my practice and play golf. I decided to try the letter again,
but this time I sent 500 copies. Three months later, I had totalled
$2,341,178!
Here are a few reasons a person might give for not trying this program:

€ Some people think they can never make a lot of money with anything this
simple.

€ Some are afraid they will be ridiculed for trying

€ Some dream of large sums of money, but do nothing to actually achieve it.

€ Some are just plain lazy.

€ Some are afraid of losing their investment. They think this program is
designed to beat them out of a few dollars.

The system works if you will just try it. But you must follow the simple
instructions exactly, and in less than three months, you will be looking at
$800,000 ! Keep what you are doing to yourself for awhile. Many will tell
you it won`t work and will try to talk you out of your dreams. Let them know
of your success after it works.

LETTERS FROM PARTICIPANTS IN THIS PROGRAM:
My name is David Rhodes. In 1992 my car was repossessed and bill collectors
were hounding me. I was laid off and my unemployment ran out. In October of
1992, I received a letter telling me how to earn a large sum of money
anytime I wanted. Of course, I was skeptical. But because I was so desperate
and virtually had nothing to lose, I gave it a try. In January 1993, my
family and I went on a 10-day cruise. The next month I bought a brand new
Mercedes with cash! I am currently building a home in Virginia and I will
never have to work again. This money program really works perfectly every
time. I have never failed to receive less than $500,000. This is a
legitimate, money-making opportunity. It does not require you to sell
anything or to come in contact with people. And , best of all, you only
leave the house to mail the letters. If you have always believed that
someday you would get the lucky break, then simply follow the instructions
and make dreams come true.

Larry McMahon, Norfolk, VA Six months ago, I received this letter and
ignored it. Five more came within a period of time and I ignored them also.
I was tempted, but I was convinced that they were just a Hoax. After three
weeks of deliberating, I decided to give it a try ( not expecting much ).
Two weeks went by and nothing happened. The fourth week was unbelievable! I
can't say I received $800,000 but I have received over $120,000. For the
first time in years, I am debt free. I am doing this again, only this time
starting with 500 post. I strongly recommend that you follow the
instructions exactly as outlined in this letter.


INSTRUCTIONS

1. Go to www.paypal.com and open an account. (If you do this before the last
September you will be paid by Paypal with five dollar as a introduction
bonus so this effort will not cost you anything.) Forward a payment of
totally 5 dollar through your new PayPal account, 1 dollar each to the five
peoples mail-address listed in the bottom of this page. Select "Service" as
payment type. In the Subject field you should write "Mailing list" and in
the Note field write the following phrase, "PLEASE PUT ME ON YOUR MAILING
LIST" and include your name and emailaddress. What you are doing is
requesting a legitimate service and you are paying for it!
2. Now take the #1 name off the list that you see at the bottom, move the
other names up (5 becomes 4, 4 becomes 3, etc...) and add YOUR name as
number 5 on the list.

3. COPY this letter. You do not have to type it 200 times. Simply place your
cursor at the top of the page, hold it and drag it all the way down to the
end of the letter. Then click on "edit" and select "copy". Now open up a
notepad file on your computer and put the cursor at the top of the page in
the notepad, click on 'edit' and then select 'paste' it will copy the letter
for you onto your computer.
Remove the name next to the #1 on the list (the list at the bottom of the
message) and move the rest of the names up one position (#2 becomes #1, #3
becomes #2, etc.....) Then place your name and your mail-address (which is
your payment address at payPal) in the #5 position. Then save it, make sure
it is saved as a .txt file.

4. When you have completed the instructions, type the address of one of
these search engines.

www.google.com
www.yahoo.com
www.altavista.com
www.askjeeves.com
www.Altavista.com
www.Fathead.com
www.TotalSEEk.com
www.Dmoz.com
www.SearchPort.com
www.Jayde.com
www.HotBot.com
www.ICQ IT!.com
www.WorldLight.com
www.Dogpile.com

In the search box, type "message forums" or "discussion forums". A list of
over 2 million boards will come up. Go to each board name and right click on
the mouse. Select 'copy'. Then go to your "write mail" box, as if you were
about to write a letter and select 'paste'. Do that until you have at least
200 locations. The more boards you find, the higher your
income potential will be. The search engine will give you a ton of message
forums; don't just grab the ones on the first page, dig deep and grab some
from the middle and the back also, to help make sure you're visiting places
no one has been to already. When you've found your 200+ locations, "copy"
all your locations, "paste" them in a word document or notepad, and "Save"
the file. Once you have the locations, visit each one, register, and post
your letter. It's that simple. How many hours at your current job would it
take for you to make 6000 dollars ?

Post this article as a new message by highlighting the text of this letter
and selecting paste from the edit menu. Fill in the Subject with "This is
pretty amazing.......", THAT'S IT! You're done with your first one,
Congratulations. Some boards may be difficult to figure out where to post.
If any board is too problematic for any reason, simply move on to the next
board. Get some of your favourite CDs to listen to while you do this also.
Keep a copy of this letter so you can use it a second time. Post it out
again in six months, but Post it with the addresses you receive with each
dollar. It will work better the second time. NOTE: This service is 100%
legal - (Refer to title 18 section 1302 of the U.S. Postal & lottery laws).
You can also call the U.S. Post Office (1-800-725-2161) to verify this. Hold
on to every letter and mailing list request you receive. They will be proof
of your service.

HOW THIS WORKS
When you send out 200 Posts, it is estimated that at least 15 people will
respond and send you a $1.00 to be placed on your mailing list ($15.00).
Those 15 will Post 200 Posts each and 225 people send you $1.00 to be placed
on your mailing list ($225.00). Those 225 people Post 200 Posts each and
3,375 people send you $1.00 to be placed on your mailing list ($3,375.00)
Those 3,375 post 200 posts each and 50,625 people send you $1.00 each
($50,625). Those 50,625 post 200 posts each and 759,375 people send you
$1.00 ($759,375.00) At this point your name drops off the list, but so far
you have received $813,615.00. Even if less then 15 people respond each
time, you will still receive an income in the tens of thousands of dollars.
The reality is, even if you only made a few hundred dollars out of all this,
that's still an excellent return for such a miniscule investment. Most
people spend a lot more on lottery tickets and have nothing to show for it,
and forget about how much money is needed to play the market. Also, after
posting this message on 100 message boards, it may get boring.
Stay focused on what you want and don't quit until you finish.
P.S.
This program remains successful because of the honesty and integrity of the
participants and by their carefully adhering to the directions. Look at it
this way. If you are of integrity, the program will continue and the money
that so many others have received will come your way.

When your money begins to come in, give the first 10% to charity with spirit
and share a good fortune!

ADDRESSES TO SEND YOUR PAYMENT OF 1 DOLLAR EACH TO (THROUGH YOUR PAYPAL
ACCOUNT) AND THE MAILING LIST REQUEST:

(If you open a Pay-pal account before last September Pay-pal will give you a
bonus, 5 dollar, so this experience will cost you nothing!!!)
1)
Alex O'Leary
al**************@gamebox.net
8377 APT. I MONTGOMERY RUN RD.
ELLICOTT CITY MD 21043

2)
Ralph H Sweeney
ra***********@bonbon.net

3)
Dick Baldwin, Santa Monica
ba*******@toughguy.net

4)
Clark Olsen, Minnesota
cl*********@hotpop.com

5)
Sarah Becker
sa**********@bonbon.net
Homestead, Fl 33033
Nov 12 '05 #3
Thank you for your reply Albert!

There is no existing network connection right now between the two locations,
and I'm planning to create a connection over WAN (Internet). There is not
much data that will be transferred, and not very often either, so I think
that maybe a VPN connection could work? I don't know anything about how to
set up a VPN connection however...do you know of any resources that have
good info regarding this?

Thank you!

Peter Larsson

"Albert D. Kallal" <ka****@msn.com> wrote in message
news:4d***********************@news3.calgary.shaw. ca...
To get data from the remote location, you will need to be able to browse to that folder on the remote machine.

You don't mention if there is a existing network connection between the two locations.

If you don't have a constant connection you could even consider having the
people zip, and then email the file on a regular bases to you. ms-access
databases compress extremely well. I use www.winzip.com.
So, while your Excel can connect the access database, Excel still needs to
be able to browse to the folder on the that remote pc. A VPN (virtual
private network) could be setup that allows you to get access to the folder on the remote pc. However, this can be slow, also you don't want to write
data to the remote location across a VPN.

Another possibility is to use replication. Replication is a process where
databases can connect and exchange data. However, it sounds like you only
need to get data from that remote location, and not actually update data.

Much will depend on what you have for a connection between the two
locations. However, trying to use ms-access over any type of connection that is not first rate does involved some risk.

You can read some thoughts of mine on networking ms-access.

http://www.attcanada.net/~kallal.msn/Wan/Wans.html

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
ka****@msn.com
http://www.attcanada.net/~kallal.msn

Nov 12 '05 #4
For a simple VPN and fire wall look at a WATCHGUARD FIREBOX SOHO 6tc. I set
on up in my office with the optional client access, to allow user to connect
from remote PC. If you have one on both ends you can setup a tunnel between
them.

Do NOT try to run an Access application though them, copy the database to a
local computer and run your reports from there.

PS. This is my 1st attempt at VPN and I understand the CISCO PIX501 is also
a very good system. I went with the WATCHGUARD because it had some options I
need that the CISCO did not.

"Peter Larsson" <pe********************@hotmail.com> wrote in message
news:btc9b.37523$S_.6681@fed1read01...
Thank you for your reply Albert!

There is no existing network connection right now between the two locations, and I'm planning to create a connection over WAN (Internet). There is not
much data that will be transferred, and not very often either, so I think
that maybe a VPN connection could work? I don't know anything about how to
set up a VPN connection however...do you know of any resources that have
good info regarding this?

Thank you!

Peter Larsson

"Albert D. Kallal" <ka****@msn.com> wrote in message
news:4d***********************@news3.calgary.shaw. ca...
To get data from the remote location, you will need to be able to browse

to
that folder on the remote machine.

You don't mention if there is a existing network connection between the

two
locations.

If you don't have a constant connection you could even consider having the people zip, and then email the file on a regular bases to you. ms-access
databases compress extremely well. I use www.winzip.com.
So, while your Excel can connect the access database, Excel still needs to be able to browse to the folder on the that remote pc. A VPN (virtual
private network) could be setup that allows you to get access to the

folder
on the remote pc. However, this can be slow, also you don't want to write data to the remote location across a VPN.

Another possibility is to use replication. Replication is a process where databases can connect and exchange data. However, it sounds like you only need to get data from that remote location, and not actually update data.
Much will depend on what you have for a connection between the two
locations. However, trying to use ms-access over any type of connection

that
is not first rate does involved some risk.

You can read some thoughts of mine on networking ms-access.

http://www.attcanada.net/~kallal.msn/Wan/Wans.html

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
ka****@msn.com
http://www.attcanada.net/~kallal.msn


Nov 12 '05 #5

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

Similar topics

5
by: anthonyberet | last post by:
I work for an organisation that uses a bespoke document imaging system, the database of which is an MS sql server. We have MS Access and already use it for some querying of the database. The...
4
by: Bon | last post by:
Hello all Would it be possible to migrate the MS Access 2000 to MS SQL Server 2000? My application is using MS Access 2000 as database and as user interface such as forms. Now, I want to...
2
by: Hans | last post by:
Greetings! I want to have a client on location have access to a database that I have on my server. He needs to be able to add data, delete data, view data. Ideally I would like that the...
2
by: tina.boroff | last post by:
Hello Everyone I have a database that I am using with Frontpage. Users update this database in Frontpage via ASP pages. I am now setting up a page for the database to be edited......so here is...
13
by: ThunderMusic | last post by:
Hi, I have to develop an application that will consist of a service and a windows forms application... the service could be on a distant server but I need to authenticate the user as being part...
8
by: Lykins | last post by:
We currently use Access 2003 in our company and have had this issues from every version from Access 97 to 2003. We deal with large databases and run a lot of queries over tables with millions of...
10
by: MLH | last post by:
Suppose, in a multi-user environment, you have append query SQL in a VBA procedure that looks like INSERT INTO MyTable... and the next line reads MyVar=DMax("","MyTable... You can never be...
3
by: mnjkahn via AccessMonster.com | last post by:
I'm running Access 2003, modifying a query that has over 45 fields. When I right click on the field name in Query Design View, and then click Build, Access crashes before the Build window...
2
by: DuncanIdaho | last post by:
Hi Apologies if this is similar to a (very) recent post. I was wondering if it is possible to execute an update query that contains a select statement on an MS access 2000 database. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
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...
0
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,...
0
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...

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.