I have probably about 30 databases. Each of these have their own front end. Different users have different databases they use. I want to make up a front end for each department so they can access the databases they need. I know this can be done by hyperlinks to open the individual databases, but I woul drather be able to do this within the front end databse for each department. Is this possible?
9 1929 nico5038 3,080
Recognized Expert Specialist
In general we do this using linked tables.
When your users just need to switch between whole databases, then you could look into using code for setting the current database to another .mdb. For this check the helpfile on the subject of WorkSpaces.
Nic;o)
We already have the tables linked throughout the 30+ databases. Let me try to be a bit more specific. We have triage.mdb, officesupplies.mdb, mailinglables.mdb, cmdatabase.mdb which all have thier own front ends. I want reception to be able to access all four of these through a single front end. My hopes for this is that, because some departments can use up to 10 of the databases, that they dont have mdb icons all over the place, they can open the one and access all of the info they need.
nico5038 3,080
Recognized Expert Specialist
There's no limit to link tables to different .mdb's.
Thus one front end can be linked to the tables of all back end databases.
It's the needed functions/forms that should be giving the guideline which tables should be linked.
Personally I did create multiple front-ends based on the same back end, but the other way around is no problem either.
Nic;o)
ADezii 8,834
Recognized Expert Expert
We already have the tables linked throughout the 30+ databases. Let me try to be a bit more specific. We have triage.mdb, officesupplies.mdb, mailinglables.mdb, cmdatabase.mdb which all have thier own front ends. I want reception to be able to access all four of these through a single front end. My hopes for this is that, because some departments can use up to 10 of the databases, that they dont have mdb icons all over the place, they can open the one and access all of the info they need.
You can use the OpenCurrentDatabase() Method to open any existing, External, Microsoft Access database (.mdb) as the Current Database via Automation. The following code will Open the Sample Northwind Database from whatever Database you are actively in. Northwind will then be treated as the Current Database. - Declare at the Modular, not Procedural, Level:
- Dim appAccess As Access.Application
- Run similar code to open Northwind.mdb as the Current Database.
-
'Initialize string to External Database Path.
-
Const conPATH_TO_EXTERNAL_DB = "C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwind.mdb"
-
-
'Create new instance of Microsoft Access.
-
Set appAccess = CreateObject("Access.Application")
-
-
'Open database in Microsoft Access window.
-
appAccess.OpenCurrentDatabase conPATH_TO_EXTERNAL_DB
So can I put this code under On_Click for a button? Or where would I use it to open the other database. When I put it with the button, it doesn't error but it doesn't open either. I put in my path R:\MDS_DBs\Misc\UIs\MailingLabel.mdb
While looking I noticed that I do have a .ldb file, but the database is not open anywhere and it will not let me delete it, says the database is in use and it won't let me in the database either
ADezii 8,834
Recognized Expert Expert
While looking I noticed that I do have a .ldb file, but the database is not open anywhere and it will not let me delete it, says the database is in use and it won't let me in the database either
A Reboot should eliminate the .ldb File.
So after looking at the individual databases I learned that there must be a form set to open when the database opens. I set this in each of them now they work. This will be great, thank you for your help with this issue
ADezii 8,834
Recognized Expert Expert
So after looking at the individual databases I learned that there must be a form set to open when the database opens. I set this in each of them now they work. This will be great, thank you for your help with this issue
You are quite welcome.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Scott Allen |
last post by:
Hello,
I'm new to C++ development and I'm trying out figure out the cause of
an 'unresolved external symbol' error that I'm receiving when
compiling. Here is some history on what I'm doing:
I...
|
by: Greg Fierro |
last post by:
I would appreciate any help from anyone with the following:
I have an external program (window32 based) that I am executing with the
VBA SHELL command. This program produces a text file which I...
|
by: Sara |
last post by:
Hi -
I've been reading the posts for a solution to my query, and realize
that I should ask an "approch" question as well.
We receive our production data from a third party, so my uers import...
|
by: sara |
last post by:
I am new to Access and especially to forms and code.
I have a form in each of 5 databases that allows the user to enter the
date and then automatically run all the reports for that date. The user...
|
by: ats |
last post by:
I have a table that contains the database names of external databases.
Each one of these external databases contain a table (which has the
same structure) that I would like to query together as one...
| |
by: Wiktor Zychla |
last post by:
Hello,
my question is rather connected with some aspects of ADO.NET but I've
been trying to ask on .dotnet.framework.adonet with no result. I hope
someone here can help me.
The problem is...
|
by: Sameers (theAngrycodeR) via .NET 247 |
last post by:
I think I will get MAD very soon. Its very weired problem I amfacing here. Let me explain.
I have two DBF files from which I want to export data in CSVformat. I created a desktop application and...
|
by: Dennis Gearon |
last post by:
I'd like to get people's feelings about the topic.
At one extreme is to use table locking and external language queries to
even do referential integerity - a la Old (present?) MySQL/PHP.
A more...
|
by: eieiohh |
last post by:
MySQL 3.23.49
PHP 4.3.8
Apache 2.0.51
Hi All!
Newbie..
I had a CRM Open Source application installed and running. Windows Xp
crashed. I was able to copy the contents of the entire hard...
|
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,...
|
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...
| |
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...
|
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,...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |