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  

Relationships or something



 
 
Thread Tools Display Modes
  #1  
Old July 21st, 2008, 04:22 PM posted to microsoft.public.access.tablesdbdesign
Anna
external usenet poster
 
Posts: 315
Default Relationships or something

So, here is the issue:
This DB should work in laboratory(for blood testings)... So, I have two
tables:
In my 1. table (cold patients)I have PatientID, JMBG(this is the number sth
like ID for all people. This number is required for all people to have it an
it contains 13 digits), assurance(which assurance patient owns), and all data
which laboratory counts(HDL,...)
In 2.table is DB which contains JMBG of all people (in town or sth...) and
their names and also adresses.
I want to conect this two tables so If I wold write someones JMBG(in table
patients or in form) I will get name.
What can I do? What to do with primary key...?
  #2  
Old July 21st, 2008, 05:31 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Relationships or something

Take a look at queries for joining the two tables on their shared field
(?JMBG).

By the way, if your first table has one column for each "laboratory count",
your table is probably a spreadsheet, not a relational database table.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Anna" wrote in message
...
So, here is the issue:
This DB should work in laboratory(for blood testings)... So, I have two
tables:
In my 1. table (cold patients)I have PatientID, JMBG(this is the number
sth
like ID for all people. This number is required for all people to have it
an
it contains 13 digits), assurance(which assurance patient owns), and all
data
which laboratory counts(HDL,...)
In 2.table is DB which contains JMBG of all people (in town or sth...) and
their names and also adresses.
I want to conect this two tables so If I wold write someones JMBG(in table
patients or in form) I will get name.
What can I do? What to do with primary key...?



 




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 02:36 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.