UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> ID numbers    
 
   
jasnick
post Feb 14 2007, 07:36 PM
Post #1

New Member
Posts: 2



Hello

I am creating a database for the fish I keep and breed. I have a table and each fish has an ID number. I have fields for date of spawning and number of fry produced. The problem is that if some fish breed more than once, how do I list the dates so that if I do a Query asking for fry numbers and dates, all the different dates that a fish has bred will be shown with the same ID number.

Hope that is clear. Thank you.
Go to the top of the page
 
+
projecttoday
post Feb 14 2007, 08:16 PM
Post #2

UtterAccess VIP
Posts: 5,115
From: Dunbar, WV



You need 2 tables

tblBreeds
Breedid (Primary key)
Breed



tblSpawnings
Spawningsid (Primary key)
Spawndate
Breedid (Foreign key to tblBreeds)
NoofFry

Robert
Go to the top of the page
 
+
jasnick
post Feb 16 2007, 02:04 AM
Post #3

New Member
Posts: 2



Thank you very much Robert.
Go to the top of the page
 
+
projecttoday
post Feb 16 2007, 11:10 AM
Post #4

UtterAccess VIP
Posts: 5,115
From: Dunbar, WV



You're welcome.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 09:59 AM