473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Linking two distinct databases into one in Access

Hey
I am using Microsoft Access 2013.

I have created two databases called Payment Processing DB and Stock DB for a company.
Each Database has its own Switchboard with the all the functions displayed in it.
I want to link the two databases together
(Not import the tables from one database to another)
What I want is to link the two databases and then create a general switchboard with buttons linking to the payment processing and stock switchboards.

Is it possible to do what i want?
p.s- I am kinda inexperienced when it comes to coding so if the solution is some sort of SQL code, please explain in a clear way.

Thanks in advance :)
Dec 2 '15 #1

✓ answered by jforbes

Yes, it is possible to do what you want. For decades people have been splitting their Access databases apart into multiple databases. Mostly because it helps stabilize a multi-user environment.

Typically, one database is split into two databases where one is called the Frontend and the other is called a Backend. The Backend is the one that keeps all the Data and Queries and the User interface (Forms, Reports, macros, VBA code) is stripped out. The Frontend database is the opposite of the Backend and is where all the UI elements are stored; it is the application that the User actually runs. When the User runs the Frontend, it is linked to the Backend's data and the Forms and Reports use this Data just like they would have before the database was split.

You can do this as well, but instead of having one Backend database you would have two. Probably the greatest task you will face is the merging of the two Frontend databases into a single Frontend. I would take it a step at a time and Split one Database so you can see what you are dealing with, then I would split the second database and start moving the Forms and code from the Second Frontend into the First Frontend while reworking your switchboard.

This link has quite a lot of information you might want to read over before you start making modifications. https://bytes.com/topic/access/insig...ront-back-ends You might not need all the information that is provided if you aren't deploying your Frontend, but knowing about it now might help you as more people start using your database.

And as always when working with Access Databases, make backups. Make a backup every time you plan on making a major change. Make a backup every time you make a minor change. Make a backup every day, twice. Make a backup every time someone in your office sneezes.

2 920
jforbes
1,107 Expert 1GB
Yes, it is possible to do what you want. For decades people have been splitting their Access databases apart into multiple databases. Mostly because it helps stabilize a multi-user environment.

Typically, one database is split into two databases where one is called the Frontend and the other is called a Backend. The Backend is the one that keeps all the Data and Queries and the User interface (Forms, Reports, macros, VBA code) is stripped out. The Frontend database is the opposite of the Backend and is where all the UI elements are stored; it is the application that the User actually runs. When the User runs the Frontend, it is linked to the Backend's data and the Forms and Reports use this Data just like they would have before the database was split.

You can do this as well, but instead of having one Backend database you would have two. Probably the greatest task you will face is the merging of the two Frontend databases into a single Frontend. I would take it a step at a time and Split one Database so you can see what you are dealing with, then I would split the second database and start moving the Forms and code from the Second Frontend into the First Frontend while reworking your switchboard.

This link has quite a lot of information you might want to read over before you start making modifications. https://bytes.com/topic/access/insig...ront-back-ends You might not need all the information that is provided if you aren't deploying your Frontend, but knowing about it now might help you as more people start using your database.

And as always when working with Access Databases, make backups. Make a backup every time you plan on making a major change. Make a backup every time you make a minor change. Make a backup every day, twice. Make a backup every time someone in your office sneezes.
Dec 2 '15 #2
zmbd
5,501 Expert Mod 4TB
And as always when working with Access Databases, make backups. Make a backup every time you plan on making a major change. Make a backup every time you make a minor change. Make a backup every day, twice. Make a backup every time someone in your office sneezes.
Second that!!!!

I would also add, never, ever, ever, work on the "live" version of the database. Always make a copy before commencing one's work and make backups of both your development copies and your live database!
Dec 3 '15 #3

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

Similar topics

1
by: Henrik Thomsen | last post by:
Hi NG I have another problem - here it is: I have got two databases, one with containing all data - tables, and the other contains queries, and forms, reports etc. - I have linked the two. ...
18
by: Mark P | last post by:
I have a bit of vb code that uses Tables.Append to programatically link tables from Oracle and DB2 datasources. The problem I am having on some client machines is that the link will take anywhere...
6
by: oyk | last post by:
I hope someone could help me on this. I have linked an excel worksheet to access but the some data shown in the access table has the #Num errors. Presumably, this must be because the data in the...
4
by: Tyler | last post by:
I have a database where I would like to enter some data. This data would fill a table in that database but it would also fill in a table in another. Is this possible to do? Do I need to have...
1
by: gpo | last post by:
I've got an access table and I want to query a table that shows no duplicates postcode. Therefore, I want to use the SELECT DISTINCT postcode FROM House command in access. But it don't work. ...
1
by: stavo23 | last post by:
I have an application that is linked to two databases, The front-end is done with ASP.Net. - I assume if I want to avoid security hiccups when data is transferred between the two databases, I would...
5
by: hatrick | last post by:
Hi , there is one table (T1) in database DB1, another table T2 in DB2 , i want to run a query which select data from these two tables and copy/ place this data into third table T3 in DB3. All...
2
by: awaz | last post by:
i created a simple form in vb which has id and name as the fields and i want to link to my table in access,please help me with the code.TIA
15
by: OzNet | last post by:
I have a query (with calculated fields) in Access (2007) and the data changes depending on the dates and staff person selected. I need to produce a series of graphs based on the data in this query...
1
by: singhals | last post by:
I have two columns of data something like this: A 11 A 12 B 14 C 15 C 42 C 94 D 12
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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
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...

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.