473,587 Members | 2,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

relate two access databases

I have a database used for contact information and another for event
information. As part of the event database, we would like to keep record
of the people that are attending a certain event. These are the same
people who are in the contact database.

Using a MS Access form in the event database, is there a way to select
the names from the contact database in the Name field when adding who is
attending an event, rather than typing their informaion all over again
for every event they attend? I hoping there is a way to link these two
databases somehow.

Thanks
Pasquale

Nov 12 '05 #1
3 1509
Pasquale wrote:

I have a database used for contact information and another for event
information. As part of the event database, we would like to keep record
of the people that are attending a certain event. These are the same
people who are in the contact database.

Using a MS Access form in the event database, is there a way to select
the names from the contact database in the Name field when adding who is
attending an event, rather than typing their informaion all over again
for every event they attend? I hoping there is a way to link these two
databases somehow.

Thanks
Pasquale

I suggest you use linked tables. You can link for example constact
table(s) into your events database and work as if it was local. Try :
File -> Get External Data -> Link Tables...
Nov 12 '05 #2
Thanks.

I was able to get the names to list in a combo box(select drop down
menu), but once the name is selected, how do I get the rest of their
information to automatically fill in the rest of the fileds, like their
address, phone, etc.?

Cascader wrote:
Pasquale wrote:

I have a database used for contact information and another for event
information. As part of the event database, we would like to keep
record of the people that are attending a certain event. These are the
same people who are in the contact database.

Using a MS Access form in the event database, is there a way to select
the names from the contact database in the Name field when adding who
is attending an event, rather than typing their informaion all over
again for every event they attend? I hoping there is a way to link
these two databases somehow.

Thanks
Pasquale

I suggest you use linked tables. You can link for example constact
table(s) into your events database and work as if it was local. Try :
File -> Get External Data -> Link Tables...


Nov 12 '05 #3
One of the easiest ways is to include in your combo box all of the fields
you need to look up. (You can hide the extra fields by setting their column
widths to 0) You can then reference the values by using the Column property
of the combo. For example, if your combo box is named cboPerson and your
combo box columns are PersonID, Name, Address, City, State and Zip:
PersonID = cboPerson.colum n(0) [the columns are 0-based]
Name= cboPerson.colum n(1)
Address = cboPerson.colum n(2)
City = cboPerson.colum n(3)
etc.

You can populate your other fields by using the AfterUpdate event for the
combo box. In the AfterUpdate procedure, you would update the fields on
your Event form as follows:

txtName = cboPerson.colum n(1)
txtAddress = cboPerson.colum n(2)
etc

The other method you can use is to directly set the Control Source on your
Event form text boxes equal to a value from the combo box. For example, the
Control Source setting for txtName would be:
= cboPerson.colum n(1)

This second method will not work if you are using bound columns on your
form; you will have to use the first method.

Hope this answers your question.
--
Allan Thompson
APT Associates/ FieldScope LLC
MS Office Automation / Measurement and Reporting Systems
www.fieldscope.com
860.242.4184
"Pasquale" <sp*****@NOTHNX telusplanet.net > wrote in message
news:40******** ****@NOTHNXtelu splanet.net...
Thanks.

I was able to get the names to list in a combo box(select drop down
menu), but once the name is selected, how do I get the rest of their
information to automatically fill in the rest of the fileds, like their
address, phone, etc.?

Cascader wrote:
Pasquale wrote:

I have a database used for contact information and another for event
information. As part of the event database, we would like to keep
record of the people that are attending a certain event. These are the
same people who are in the contact database.

Using a MS Access form in the event database, is there a way to select
the names from the contact database in the Name field when adding who
is attending an event, rather than typing their informaion all over
again for every event they attend? I hoping there is a way to link
these two databases somehow.

Thanks
Pasquale

I suggest you use linked tables. You can link for example constact
table(s) into your events database and work as if it was local. Try :
File -> Get External Data -> Link Tables...

Nov 12 '05 #4

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

Similar topics

0
1813
by: Rupe | last post by:
I have a web site on a remote, shared host with a bunch of individual Access databases. I want to switch my databases from Access to MS SQL and have some questions. I update some of my Access databases through web-based content management systems. Other databases I update locally (through a bunch of Access forms) and FTP them periodically...
27
3609
by: Chuck Grimsby | last post by:
(Repost, due to lack of submissions...) The Microsoft Access Product Group (the people who build Microsoft Access) want your help! One of the main things we're working on for the near future is a conversion tool to take Microsoft Access 97 databases (primarily, but also Microsoft Access 2000 or 2002/XP databases) up to Microsoft Office...
2
1866
by: edo | last post by:
100 Day Analysis Following is a summary of articles spanning a 100 day period, beginning at 10 Sep 2003 06:41:30 GMT and ending at 19 Dec 2003 04:09:06 GMT. Notes ===== - A line in the body of a post is considered to be original if it
3
6191
by: Robin | last post by:
Hi all, I'm working with a VB app, using DAO 3.6, that used to generate Access '97 databases using the following code: Set dbsNew = wrkDefault.CreateDatabase(strLPAccessInv, dbLangGeneral, dbVersion30) I was able to have it create databases in Access 2000 by changing "dbVersion30" to "dbVersion40". Do I generate a database in Access
1
5155
by: Mike | last post by:
Hi Hi We are currently upgrading from access 97 to office 2003 on site. We would like to upgrade our access databases to Access 2003 but we wish to remove Microsoft access software from our end users so that we can control the creation of databases. Is there a way that our end users can still use these upgraded access databases without...
1
3327
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters and subqueries. ... www.soft30.com/download-1-11975.htm - 31k - Cached - Similar pages MDBSecure 1.0.8.0 - Soft30.com Utility which makes it easy to create secure MS Access Databases, ... MS...
17
4398
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server...
9
3822
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web site for a small club I belong to and one of the features I would like to include is the ability to allow users to upload image files. ...
5
3601
by: Anns via AccessMonster.com | last post by:
My establishment has about 20 ms access db's that will be converted over (see subject). When we pull all the BE's over to SQL and the FE's on Sharepoint (.net) surely we don't have to change every user face, we should be able to use the same FE in as before as now on Sharepoint? ANSWER:
0
7852
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8216
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8349
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7974
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8221
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5395
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3845
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2364
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 we have to send another system
0
1192
bsmnconsultancy
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.