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
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Frustrating search behavior with Outlook
by
MrJimPhelps
1 hour, 37 minutes ago -
June 2025 Office non-Security Updates
by
PKCano
4 hours, 50 minutes ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
11 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
4 hours, 46 minutes ago -
How start headers and page numbers on page 3?
by
Davidhs
15 hours, 10 minutes ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
9 hours, 46 minutes ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
23 hours, 51 minutes ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
23 hours, 53 minutes ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
13 hours, 34 minutes ago -
Firefox 139
by
Charlie
6 hours, 9 minutes ago -
Who knows what?
by
Will Fastie
42 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
1 day ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
19 hours ago -
Misbehaving devices
by
Susan Bradley
1 day, 2 hours ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
2 days, 6 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
3 hours, 53 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
2 days, 5 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
1 day, 4 hours ago -
Edge Seems To Be Gaining Weight
by
bbearren
1 day, 19 hours ago -
Rufus is available from the MSFT Store
by
PL1
2 days, 3 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
3 days, 6 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
1 day, 6 hours ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
1 day, 4 hours ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
3 days, 2 hours ago -
Office gets current release
by
Susan Bradley
3 days, 4 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
4 days, 18 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
4 days, 3 hours ago -
Stop the OneDrive defaults
by
CWBillow
4 days, 19 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
5 days, 5 hours ago -
X Suspends Encrypted DMs
by
Alex5723
5 days, 7 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.