A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

One Form to enter/get data in two linked tables with 1 to many lin



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 08:09 PM posted to microsoft.public.access.forms
John L[_2_]
external usenet poster
 
Posts: 26
Default One Form to enter/get data in two linked tables with 1 to many lin

Hello,

I am a new user with a variant of a contacts database.

Table 1 Hospitals, with one primary contact person info.

Table 2 Volunteers in the hospital, can be many

How would I go about designing one form which allows entry of the volunteer
information, assigns an existing hospital or can create a new hospital with
the volunteer information.

On retrieving a volunteer's information, it must display the
hospital/primary contact information.

TIA,
John



  #2  
Old March 25th, 2010, 08:29 PM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default One Form to enter/get data in two linked tables with 1 to many lin

On Thu, 25 Mar 2010 12:09:02 -0700, John L
wrote:

Hello,

I am a new user with a variant of a contacts database.

Table 1 Hospitals, with one primary contact person info.

Table 2 Volunteers in the hospital, can be many

How would I go about designing one form which allows entry of the volunteer
information, assigns an existing hospital or can create a new hospital with
the volunteer information.

On retrieving a volunteer's information, it must display the
hospital/primary contact information.

TIA,
John



Since there's (apparently) a one (hospital) to many (volunteers) relationship,
you should start with a Form based on the Hospitals table, with a Subform
based on the Volunteers table. You'ld start by either entering or navigating
to an existing hospital, and enter the volunteer data for that hospital into
the subform.
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.