473,498 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Am I using the Local BE or Server BE?

9 New Member
So, I have a silly question. I kept a version of a Backend Database on my local C drive for tweaking the FrontEnd before I am ready to publish it. However, after the publication, I will relink the BE on the server. Well, sometime I forgot, or I did not know which BE my frontend is currently linking to. Is there a way to have a simple code to tell me where is the FE currently linked to? Ty.
Feb 8 '19 #1
3 1100
PhilOfWalton
1,430 Recognized Expert Top Contributor
To start you off, have a look at in the immediate window in your FE Db.

Expand|Select|Wrap|Line Numbers
  1. ?currentdb.TableDefs("MyYable").Connect
where MyTable is any table in your BE (assuming that ALL the tables are either on the local disc or the server.

You should get something like
";DATABASE=C:\Users\User\Documents\Access\MDB 2010\Mike May 2018\Mike Db Data.accdb"

I am unable to access my server at the moment, but I think you get something like
"\\OFFICEMESH\Users\Phil\Documents\Access\MDB 2010\Calendar\Calendar 2011 Data.accdb"

The double backslash is the key to your problem

Phil
Feb 8 '19 #2
Seth Schrock
2,965 Recognized Expert Specialist
A simple method is to hover your mouse over the table name and then it shows you the connection string.
Feb 8 '19 #3
twinnyfo
3,653 Recognized Expert Moderator Specialist
Pcheng,

Both answers above will help you to answer your specific problem. It may also help for you to take a look at this thread on Using Front Ends and Back Ends. This has some good principles pertinent to how you are using your project.

Hope this hepps!
Feb 10 '19 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1437
by: Ogger | last post by:
Hello, I'm trying to develop a COM local server with python using Mark Hammond's win32 extensions, but I have problems when I want to fire an event. The COM server has a worker thread and I...
21
3339
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. ...
3
9092
by: markydev | last post by:
Hi, I'm using sql server 2000 sp4. I've 2 databases linked, an instance and my local. I'm getting two different errors when trying to update the remote table (local server) from the instance....
1
7031
by: BGuy | last post by:
When I am attempting to connect to SQL Server 2000 on my local server, I get the following error: "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection" My...
5
2430
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session...
0
1550
by: Mr. Land | last post by:
Hello. I'm having trouble creating a new Web project using VS .NET 2003 on the local default web. I've done a lot of research about this and found a lot of suggestions, but none of them seem to...
4
4127
by: Nathaniel Sherman | last post by:
Alright, folks, here's the deal... I'm working on migrating a classic ASP website to an ASP.NET codebase. At the heart of the site is a MySQL database. To make sure an "in-process" program...
5
20102
by: ljlevend2 | last post by:
Is there any way to create a local server during runtime? For example, if you add an existing Web Site to a Solution from within Visual Studio (by right clicking the solution in the Solution...
1
3149
code green
by: code green | last post by:
I have had 3 seperate procedures running happily for a couple of years that I now wish to merge into one. 1. Collect list of email addresses from Access on local server. Write these addresses to...
2
3086
nicebasic
by: nicebasic | last post by:
I'm new to PHP. To be honest, I know nothing about PHP. I can only code in ASP Classic. Since my server runs on Linux, it cannot support ASP Classic. That's why I need a piece of code to copy a...
0
7121
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
7162
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
7197
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
6881
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
7375
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
5456
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
4584
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
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.