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  

troubleshoot form



 
 
Thread Tools Display Modes
  #1  
Old August 29th, 2008, 12:02 PM posted to microsoft.public.access.forms
Karen
external usenet poster
 
Posts: 1,223
Default troubleshoot form

I have a form based on two tables
Patient demographics table -primary key is Case No
Patient results table - primary key is Laboratory Number

I have used a junction box with both Case No and laboratory Number as
primary keys to create 1-many relationships b/w each table and the junction
box.

The form contains a subform : results subform

My problem is that I have one patient with 2 seperate events (by Case No),
but the results keep combining in the form. So if I look up either case no,
results from both cases are there. I need to keep them seperate.
What have I done wrong?

thanks
Karen

  #2  
Old August 29th, 2008, 12:35 PM posted to microsoft.public.access.forms
Piet Linden[_2_]
external usenet poster
 
Posts: 280
Default troubleshoot form

On Aug 29, 6:02*am, Karen wrote:
I have a form based on two tables
Patient demographics table -primary key is Case No
Patient results table - primary key is Laboratory Number

I have used a junction box with both Case No and laboratory Number as
primary keys to create 1-many relationships b/w each table and the junction
box.

The form contains a subform : results subform

My problem is that I have one patient with 2 seperate events (by Case No),
but the results keep combining in the form. So if I look up either case no,
results from both cases are there. I need to keep them seperate.
What have I done wrong?

thanks
Karen


Karen,
If you have a Demographics table and then a Results table, then as
long as "Case No" appears in the Results table, you can create a
relationship between the two tables and then have
main form: Demographics
subform: Results

and everything will be fine. You can have many events per patient (or
only one or none), and you'll only see each Patient record once.
 




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 07:28 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.