473,466 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Backend Path

How can I establish the path to the Backend (Tables) of my split database?

Regards
Nov 13 '05 #1
5 4164
NTL News Group wrote:
How can I establish the path to the Backend (Tables) of my split database?


Use the Link Table Manager.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
Nov 13 '05 #2
Ian
Sorry, I tried to keep it simple, possibly too simple.

What I want to do is find the location of the backend using VBA. I want to
check some information about Windows version before running some code.
However I want to check on the backend that just has the tables and the code
runs from the front end and returns information about the front end PC.

Hope this makes sense.
Nov 13 '05 #3
Ian wrote:
Sorry, I tried to keep it simple, possibly too simple.

What I want to do is find the location of the backend using VBA. I want to
check some information about Windows version before running some code.
However I want to check on the backend that just has the tables and the code
runs from the front end and returns information about the front end PC.


http://www.mvps.org/access/tables/tbl0007.htm

The first function is what I use to get the back end path.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #4
Ian
Thanks Tim, just what I needed.
"Tim Marshall" <TI****@PurplePandaChasers.Moertherium> wrote in message
news:cv**********@coranto.ucs.mun.ca...
Ian wrote:
Sorry, I tried to keep it simple, possibly too simple.

What I want to do is find the location of the backend using VBA. I want
to check some information about Windows version before running some code.
However I want to check on the backend that just has the tables and the
code runs from the front end and returns information about the front end
PC.


http://www.mvps.org/access/tables/tbl0007.htm

The first function is what I use to get the back end path.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto

Nov 13 '05 #5
Check the Connect property of any of the linked tables.

Something like:

Dim dbCurr As DAO.Database
Dim tdfCurr As DAO.TableDef

Set dbCurr = CurrentDb()
For Each tdfCurr In dbCurr.TableDefs
With tdfCurr
If Len(.Connect) > 0 Then
Debug.Print "Your backend database is " & .Connect
Exit For
End If
End With
Next tdfCurr

You might also check my July, 2004 Access Answers column in Pinnacle
Publication's Smart Access. You can get it (and the accompanying sample
database) at http://www.accessmvp.com/djsteele/SmartAccess.html

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Ian" <ia********@ntlworld.com> wrote in message
news:1p**************@newsfe4-gui.ntli.net...
Sorry, I tried to keep it simple, possibly too simple.

What I want to do is find the location of the backend using VBA. I want to
check some information about Windows version before running some code.
However I want to check on the backend that just has the tables and the
code runs from the front end and returns information about the front end
PC.

Hope this makes sense.

Nov 13 '05 #6

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

Similar topics

17
by: Jon Ole Hedne | last post by:
I have worked on this problem some hours now (read many-many...), and I can't solve it: In vba-code I create a table with Connection.Execute, and add some data to it. This table is saved in the...
3
by: Chris | last post by:
I have a frontend that has some tables which are linked to a backend. Now I want to make the backend password protected and when I try to run it password protected I can't open it. In the first...
2
by: Wayne Aprato | last post by:
I'm trying to display the path to the backend database in a textbox when a form opens. I'm using the following code: Private Sub Form_Open(Cancel As Integer) Dim dbs As Database, stPath As...
4
by: DMTman | last post by:
Who can help me to create a backup strategy that will copy the backend.mdb into separate folders representing either the time, or just folders that are sequentially numbered. I need this for...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
2
by: Frank L | last post by:
On apps I support for some charitable and non-profits I use a form which displays application version history info, along with a few system setup parameters. One of these setup bits is the...
17
by: ApexData | last post by:
Hello Split DB (FE & BE) Linked. FE compiled to MDE. For security reasons, I have hidden the BackEnd. However, If the network is down or the FE can't find the Backend, then an Access Error...
15
by: Shyguy | last post by:
I am trying to export 3 tables from the backend of the database while working in the front end. Is this possible? And, if so, how? Thank you for any help
6
by: bg_ie | last post by:
Hi, My company's backend is located at a location with a long address, something like - //our_servers/server_number_one/our_department/our_devision/ our_results/our_databases/backend.be I...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.