K
Kastor
Hello
I'm trying to put together a database for my CD collection, but some
basic design questions are giving me headaches. I mainly collect
classical music, so I have created the following tables:
tblAlbums
tblWorks
tblComposers (Bach, Beethoven, etc.)
tblLabels (Decca, EMI, Philips, etc.)
tblCategories (piano, opera, chamber music etc.)
tblAlbums has the following fields: album title, artists, label (lookup
from tblLabels) etc.
tblWorks has the fields: composer (lookup from tblComposers) work
title, category (lookup from tblCategories) and album.
There is a one-to-many relationship between tblAlbums.ID (=primary key)
and tblWorks.Album because every CD album usually contains several
works. Now here's my first headache: while virtually all CDs contain
several works, the same work may also be present on several CDs. If
this is the case, I currently have to make double entries in tblWorks.
How can I avoid this? And how would I best design my forms?
Second headache: only a minority of my CD's have only one or two
artists; most have several. For instance, an opera album may have up to
fifteen singers, plus orchestra, chorus and conductor. Because it is
impossible to make a field for every artist, I have only one (memo)
field to store all artists. However, this means I have to type some
names over and over again, because I can't use a lookup field.
Any help will be greatly appreciated.
I'm trying to put together a database for my CD collection, but some
basic design questions are giving me headaches. I mainly collect
classical music, so I have created the following tables:
tblAlbums
tblWorks
tblComposers (Bach, Beethoven, etc.)
tblLabels (Decca, EMI, Philips, etc.)
tblCategories (piano, opera, chamber music etc.)
tblAlbums has the following fields: album title, artists, label (lookup
from tblLabels) etc.
tblWorks has the fields: composer (lookup from tblComposers) work
title, category (lookup from tblCategories) and album.
There is a one-to-many relationship between tblAlbums.ID (=primary key)
and tblWorks.Album because every CD album usually contains several
works. Now here's my first headache: while virtually all CDs contain
several works, the same work may also be present on several CDs. If
this is the case, I currently have to make double entries in tblWorks.
How can I avoid this? And how would I best design my forms?
Second headache: only a minority of my CD's have only one or two
artists; most have several. For instance, an opera album may have up to
fifteen singers, plus orchestra, chorus and conductor. Because it is
impossible to make a field for every artist, I have only one (memo)
field to store all artists. However, this means I have to type some
names over and over again, because I can't use a lookup field.
Any help will be greatly appreciated.