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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Two records on 1 form



 
 
Thread Tools Display Modes
  #1  
Old June 7th, 2005, 11:59 AM
Widemonk
external usenet poster
 
Posts: n/a
Default Two records on 1 form

Can I display the details of 2 records on a form view?? Let me explain why.

I have a membership database that as well as the usual 3 address lines &
d.o.b. etc etc, it also records a next of kin (incl. their full address
details etc).

Normally I would create many fields for each record except some people who
are down as N.o.K are also members. This leads me to list each person by
themselves with an additional yes/no field to denote if they are a member or
JUST a N.o.K.

So when a member is displayed on the form, can I also display details from
another record who is down as their N.o.K. ???
  #2  
Old June 7th, 2005, 01:39 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

You should be able to do this with a subform. You haven't provided any table
structure or information on how the pairs of nok are related.

--
Duane Hookom
MS Access MVP


"Widemonk" wrote in message
...
Can I display the details of 2 records on a form view?? Let me explain
why.

I have a membership database that as well as the usual 3 address lines &
d.o.b. etc etc, it also records a next of kin (incl. their full address
details etc).

Normally I would create many fields for each record except some people who
are down as N.o.K are also members. This leads me to list each person by
themselves with an additional yes/no field to denote if they are a member
or
JUST a N.o.K.

So when a member is displayed on the form, can I also display details from
another record who is down as their N.o.K. ???



  #3  
Old June 8th, 2005, 10:13 AM
Widemonk
external usenet poster
 
Posts: n/a
Default

Sorry...

Only 1 table because I'm trying to make it self-join.
Primary key is MemberName (I expect this list will have no more than 100
names which is why i havent used AutoNumber as the primary)
In relationships, i've added the table a total of 3 times and joined:-
table_1.membername to table.NOK1
table_2.membername to table.NOK2

"Duane Hookom" wrote:

You should be able to do this with a subform. You haven't provided any table
structure or information on how the pairs of nok are related.

--
Duane Hookom
MS Access MVP


"Widemonk" wrote in message
...
Can I display the details of 2 records on a form view?? Let me explain
why.

I have a membership database that as well as the usual 3 address lines &
d.o.b. etc etc, it also records a next of kin (incl. their full address
details etc).

Normally I would create many fields for each record except some people who
are down as N.o.K are also members. This leads me to list each person by
themselves with an additional yes/no field to denote if they are a member
or
JUST a N.o.K.

So when a member is displayed on the form, can I also display details from
another record who is down as their N.o.K. ???




  #4  
Old June 8th, 2005, 03:19 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Your subform can be based on the same table. I'm still not sure which fields
are linked to which fields.

--
Duane Hookom
MS Access MVP
--

"Widemonk" wrote in message
...
Sorry...

Only 1 table because I'm trying to make it self-join.
Primary key is MemberName (I expect this list will have no more than 100
names which is why i havent used AutoNumber as the primary)
In relationships, i've added the table a total of 3 times and joined:-
table_1.membername to table.NOK1
table_2.membername to table.NOK2

"Duane Hookom" wrote:

You should be able to do this with a subform. You haven't provided any
table
structure or information on how the pairs of nok are related.

--
Duane Hookom
MS Access MVP


"Widemonk" wrote in message
...
Can I display the details of 2 records on a form view?? Let me explain
why.

I have a membership database that as well as the usual 3 address lines
&
d.o.b. etc etc, it also records a next of kin (incl. their full address
details etc).

Normally I would create many fields for each record except some people
who
are down as N.o.K are also members. This leads me to list each person
by
themselves with an additional yes/no field to denote if they are a
member
or
JUST a N.o.K.

So when a member is displayed on the form, can I also display details
from
another record who is down as their N.o.K. ???






  #5  
Old June 13th, 2005, 01:16 PM
Widemonk
external usenet poster
 
Posts: n/a
Default

OK. I'm probably not explaining it very well.

Just SOME of the fields a
Name, Street, Town, County, Phone, DOB, Membership Type, NoK1 Name, NoK1
Street, NoK1 Town, NoK1 County, NoK1 Phone, ... and all the same for NoK2 etc

Now, I have an adult member who may also have two kids as child members too.
That adult now has their address unlinked in 3 places... their own address
and as the NOK for each of their two kids.

Instead, if I have each person as a separate record and somehow link the NOK
names to the Name field of other records, I can remove a quarter of my
fields, but I'd still like it display those two or three records on the same
form

If i have a child as a member but their parent isnt, although the parent
would be included in the list (solely as NOK for their child), their
membership type (say, 'parent') would remove them from queries & reports etc.

Hope the mud is clearing up a bit !!

"Duane Hookom" wrote:

Your subform can be based on the same table. I'm still not sure which fields
are linked to which fields.

--
Duane Hookom
MS Access MVP
--

"Widemonk" wrote in message
...
Sorry...

Only 1 table because I'm trying to make it self-join.
Primary key is MemberName (I expect this list will have no more than 100
names which is why i havent used AutoNumber as the primary)
In relationships, i've added the table a total of 3 times and joined:-
table_1.membername to table.NOK1
table_2.membername to table.NOK2

"Duane Hookom" wrote:

You should be able to do this with a subform. You haven't provided any
table
structure or information on how the pairs of nok are related.

--
Duane Hookom
MS Access MVP


"Widemonk" wrote in message
...
Can I display the details of 2 records on a form view?? Let me explain
why.

I have a membership database that as well as the usual 3 address lines
&
d.o.b. etc etc, it also records a next of kin (incl. their full address
details etc).

Normally I would create many fields for each record except some people
who
are down as N.o.K are also members. This leads me to list each person
by
themselves with an additional yes/no field to denote if they are a
member
or
JUST a N.o.K.

So when a member is displayed on the form, can I also display details
from
another record who is down as their N.o.K. ???






  #6  
Old June 13th, 2005, 10:17 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

I wouldn't do anything until the structure was properly normalized. Consider
reviewing http://www.alphabetcitydataworks.com/fundamentals.htm

--
Duane Hookom
MS Access MVP
--

"Widemonk" wrote in message
...
OK. I'm probably not explaining it very well.

Just SOME of the fields a
Name, Street, Town, County, Phone, DOB, Membership Type, NoK1 Name, NoK1
Street, NoK1 Town, NoK1 County, NoK1 Phone, ... and all the same for NoK2
etc

Now, I have an adult member who may also have two kids as child members
too.
That adult now has their address unlinked in 3 places... their own address
and as the NOK for each of their two kids.

Instead, if I have each person as a separate record and somehow link the
NOK
names to the Name field of other records, I can remove a quarter of my
fields, but I'd still like it display those two or three records on the
same
form

If i have a child as a member but their parent isnt, although the parent
would be included in the list (solely as NOK for their child), their
membership type (say, 'parent') would remove them from queries & reports
etc.

Hope the mud is clearing up a bit !!

"Duane Hookom" wrote:

Your subform can be based on the same table. I'm still not sure which
fields
are linked to which fields.

--
Duane Hookom
MS Access MVP
--

"Widemonk" wrote in message
...
Sorry...

Only 1 table because I'm trying to make it self-join.
Primary key is MemberName (I expect this list will have no more than
100
names which is why i havent used AutoNumber as the primary)
In relationships, i've added the table a total of 3 times and joined:-
table_1.membername to table.NOK1
table_2.membername to table.NOK2

"Duane Hookom" wrote:

You should be able to do this with a subform. You haven't provided any
table
structure or information on how the pairs of nok are related.

--
Duane Hookom
MS Access MVP


"Widemonk" wrote in message
...
Can I display the details of 2 records on a form view?? Let me
explain
why.

I have a membership database that as well as the usual 3 address
lines
&
d.o.b. etc etc, it also records a next of kin (incl. their full
address
details etc).

Normally I would create many fields for each record except some
people
who
are down as N.o.K are also members. This leads me to list each
person
by
themselves with an additional yes/no field to denote if they are a
member
or
JUST a N.o.K.

So when a member is displayed on the form, can I also display
details
from
another record who is down as their N.o.K. ???








 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Design help, please SillySally Using Forms 27 March 6th, 2005 04:11 AM
Need query to separate 2 entry types in a table field Jan Il Running & Setting Up Queries 31 November 23rd, 2004 05:57 PM
Open another form based on the same records as in the first form Anders Berlin New Users 1 October 1st, 2004 12:40 AM
Open another form based on the same records as in the first form Anders Berlin Using Forms 1 September 30th, 2004 09:57 AM
surely a form with a ListBox can be used in a query? 1.156 Running & Setting Up Queries 14 June 2nd, 2004 04:54 PM


All times are GMT +1. The time now is 09:18 AM.


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