My Assistant
![]() ![]() |
|
|
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. |
|
|
|
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 |
|
|
|
Feb 16 2007, 02:04 AM
Post
#3
|
|
|
New Member Posts: 2 |
Thank you very much Robert.
|
|
|
|
Feb 16 2007, 11:10 AM
Post
#4
|
|
|
UtterAccess VIP Posts: 5,115 From: Dunbar, WV |
You're welcome.
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 21st May 2013 - 09:59 AM |