Is it possible to connect to an Access database on our network using its IP address. I want to open a recordset on that db
to to check for the latest version when another database is opened.
Thanks
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Connect to network database using IP (Access2000)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Connect to network database using IP (Access2000)
- This topic has 15 replies, 4 voices, and was last updated 21 years, 12 months ago.
AuthorTopicWSready4data
AskWoody LoungerJune 10, 2003 at 7:37 pm #388845Viewing 0 reply threadsAuthorReplies-
WSDrew
AskWoody LoungerJune 11, 2003 at 5:19 am #684458Clarify please. Do you want to connect to an .mdb on your network from a location outside of your network (on the internet)? Or do you just want to connect to another database on your network? Or, do you want to connect to a database using a particular machine?
Now I’m confused. Please explain a little better.
-
WSready4data
AskWoody LoungerJune 11, 2003 at 9:23 am #684501Drew,
I want to connect through our companies intranet. There is a website on one of the servers that anyone in the company can access.
On that server is a Access database that I want to be able to connect to from anywhere in the company through IP.
What this is for is I’m going to create a table in that database with version information for several company databases that I have created.
When they open their database I want it to connect to the db on the server, open a recordset with the version information to see if they are running the latest.
I have complete access to the server, the website and the database.
I already have a routine to see if they are connected to the lan before it would even run the version check.
Thanks for any assistance -
WSDrew
AskWoody LoungerJune 11, 2003 at 1:54 pm #684586From what you described, you just need to link a table to that database.
You can use ADO also. For example:
Dim cnn as ADODB.Connection
Dim rs as ADODB.Recordset
Dim strSQL as String
Set cnn=new ADODB.Connection
With .cnn
.Provider=”Microsoft.Jet.OLEDB.4.0″
.Open “MyWebServerMyWebServerShareMyDatabase.mdb”
End With
Set rs=New ADODB.Recordset
strSQL=”Select * ” & _
“From MyVersionTable;”
rs.Open strSQL, cnn, adOpenKeyset, adLockReadOnly….
rs.close
set rs=Nothing
cnn.Close
set cnn=NothingHope that helps!
-
WSready4data
AskWoody LoungerJune 11, 2003 at 4:36 pm #684620Drew,
I’m getting a message about not a valid path. The database is in a folder(updates) in the wwwroot folder on the server.
There is a DNS entry pointing to server so anyone in the company can access it by name(dealer).
I have also been playing with ASP and I can open a recordset from that database(remote) on an ASP page but can figure out how to open that recordset in my local database.
Do you have any other suggestions?
Thanks -
WSDrew
AskWoody Lounger -
WSready4data
AskWoody Lounger -
WSDrew
AskWoody Lounger -
WSready4data
AskWoody LoungerJune 12, 2003 at 10:00 am #684896Drew,
I ran into another problem. When I tried to run the database from another pc on the network I couldn’t connect to the remote db.
I’m a user on my pc and the remote so that is why it works from mine.
The remote db is on a windows 2000 workstation.
If I navigate through the network neighborhood on a win2k pc that is trying to connect to the remote db, it is asking for a “connect as” and a “password”.
Do I need to put a used and password somewhere in the connection string?
Thanks -
WScharlotte
AskWoody LoungerJune 12, 2003 at 11:18 am #684920Are you saying that the remote database is not on a server that everyone can access, it’s on another workstation with a drive that has been shared to your network? The login it’s asking for is a user login for that machine that will grant permissions to connect to the other database. You might want to set up a profile on the other machine that contains only the necessary permissions for the database folder so that you don’t compromise the workstation’s security when you connect to the database.
-
WBell
AskWoody_MVPJune 12, 2003 at 11:19 am #684929I think you do, and the problem is it will need to be different for each user. Unfortunately, I don’t know the syntax you are going to need – maybe someone else will.
Just out of curiosity, what’s going to happen when someone doesn’t have the latest version? If you are trying to push out a new version, there is a commercial version available from FMS that handles most of the issues very nicely. (We also have a similar product called DBLauncher that we use at client sites that we may commercialize at some point in the future.)
-
WSready4data
AskWoody LoungerJune 12, 2003 at 11:49 am #684944Charlotte/Wendell,
I have secured the workstation by setting permissions on just the folder where the database is to read only. Plus it is on the company intranet and only going to be used by company employees.
I created a user on the workstation that has access to that shared folder where the remote db is.
From what I can see in the connection string syntax the user and password strings are for the actual database(if password proected) not the connection to the workstation. -
WSDrew
AskWoody LoungerJune 12, 2003 at 1:43 pm #685045Correct. You will need to setup the permissions on the share, and on the folder, to let the people have access that you want to have access. Actually, the recommended method is to set the share wide open (give ‘Everyone’ all permissions), and then set the restrictive permissions on the folder/files, with NTFS permissions.
-
WSready4data
AskWoody Lounger -
WSDrew
AskWoody LoungerJune 12, 2003 at 1:52 pm #685058You shouldn’t have to put one anywhere. If the users are NOT logging onto their workstations, there is the problem. Are you running a domain, or are you running a peer to peer network?
If you are running a domain, then you need to have people log onto the network, then the credentials are passed by the OS, and you don’t have to do anything else.
If you are running Peer to Peer, then you need to map a drive to the share, and have the mapping save the credentials.
-
WSready4data
AskWoody LoungerJune 13, 2003 at 12:50 pm #685490Mission accomplished.
Found bits and pieces on the web and modified them for what I was trying to do.
In the zip file are 2 databases and 1 .asp file.
The versions.mdb and the getdata.asp are placed on the website, intranet…etc
The connect.mdb has a form with a command button that connects to the url where the .asp and mdb are located.
It then opens up a recordset from the GetData.asp page and compares it with a table in the local db that has version information in it.
Then pops up a message about the new version.
I’m using this in the OnOpen event of the main form of my production databases. Works Great
Thanks to all,
Scott
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
13 hours, 35 minutes ago -
Small desktops
by
Susan Bradley
1 hour, 3 minutes ago -
Totally disable Bitlocker
by
CWBillow
8 hours, 27 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
22 hours, 15 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
1 day ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
1 day, 3 hours ago -
Mystical Desktop
by
CWBillow
1 day, 3 hours ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
8 hours, 46 minutes ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
4 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
1 day, 18 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
1 day, 21 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
1 day, 19 hours ago -
What is wrong with simple approach?
by
WSSpoke36
1 day, 12 hours ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
2 days, 7 hours ago -
Location, location, location
by
Susan Bradley
21 hours, 27 minutes ago -
Cannot get a task to run a restore point
by
CWBillow
2 days, 8 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
1 day, 23 hours ago -
June 2025 Office non-Security Updates
by
PKCano
2 days, 19 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
21 hours, 47 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
2 days, 19 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
3 days, 5 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
3 days, 14 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
3 days, 14 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
3 days, 3 hours ago -
Firefox 139
by
Charlie
2 days, 20 hours ago -
Who knows what?
by
Will Fastie
1 day, 22 hours ago -
My top ten underappreciated features in Office
by
Peter Deegan
1 hour, 29 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
1 day, 8 hours ago -
Misbehaving devices
by
Susan Bradley
2 days, 10 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.