Thanks- I'm on the right track. BUT I still have a few questions:
(And, yes, Art = artifact and Prov= provenience; sorry for the inconsistency
in my example.)
Jolene
see comments in-line
>Thanks- I'm on the right track. BUT I still have a few questions:
>(And, yes, Art = artifact and Prov= provenience; sorry for the inconsistency
[quoted text clipped - 24 lines]
>
>Site numbers, however, are unique (for example, 44OR854).
OK - I was thinking that you might have meant subdivision in the XY
plane, but now I see that you mean subdivision on the Z axis. I think
that may make a difference because of "consistency of nomenclature".
Let me explain.
Suppose you have 5 sites with exactly three proveniences each. I would
envision a provenience table with 15 records -- one for each of the
site/provenience combinations. In my first message, I had referred to
this table as tblProvenience. That may have caused some confusion if
you had envisioned a provenience table with just three records. Since
the provenience can assume just three values (easily expanded) in the
Z axis, instead of the infinite number in the XY plane, it is a good
candidate for placing into its own table.
Therefore, you would have this set of tables:
tblSite (as you have already identified)
SiteID
etc
tblProvenienceName
ProvenienceNameID PK - an autonumber
ProvenienceName - text
- in the example, the records will be "Surface", "A", "B", etc
tblSiteProvenience
SiteProvenienceID PK - an autonumber
SiteID - foreign key to the tblSite
ProvenienceNameID - foreign key to tblProvenienceName
etc
This latter table provides a unique record for every Site/Provenience
combination in your database. The Photos, Reports, Notes, and
Artifacts are related to this table alone. However, since each record
in tblSiteProvenience is subsequently related to a particular Site,
there is a direct, traceable route back from each Artifact to the Site
without explicitly including the Site information in the Artifact
table.
If you had meant subdivision in the XY plane, then the likelyhood of a
consistent naming convention ("surface", "a", "b") would have
diminished significantly. If that had been the case, then I would have
omitted tblProvenienceName, and changed the structure of the
tblSiteProvenience, by removing the ProvenienceNameID field and
replacing it with ProvenienceName. However, the concept of using
tblSiteProvenience is the same in either case.
>The first Artifact table is designed to give information for all of the
>artifacts recovered from a particular site num/prov.
Such information should be included in tblSiteProvenience. Anything
that pertains to the unique combination of SiteProvenience belongs in
that table, regardless of whether it is about artifacts, notes,
photos, etc.
>The second artifact table,
>> >tblArtifact-
[quoted text clipped - 8 lines]
>Maybe I can consolidate the two tables, but I'm not sure how to do it without
>having to enter duplicate data with every field.
I hope you understand my point about removing the Site information
from the artifact table, and rely on the tblSiteProvenience instead.
It will simplify your job.
Not sure whether PieceCount belongs in this table. It's a judgement
call on your part. It *does* belong if (say) seven identical items of
a particular kind are to be catalogged as a single entitiy. If those
seven items are to be catelogged individually, then you can remove the
PieceCount field because each record always refers to a single item.
It's your call...
>Hope that helps; I really appreciate your time!
You're welcome.
>Jolene Updike
>Virginia Commonwealth University Archaeology
**********************
jackmacMACdonald@telusTELUS.net
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
Jolene Updike - 03 Jan 2005 19:37 GMT
Jack,
Thanks! Your responses have been very helpful. I have set up the
tblProvName and tblSiteProv, and now I'm thinking about the structure of my
database very different way. See comments in-line.
> Jolene
> see comments in-line
[quoted text clipped - 82 lines]
> that table, regardless of whether it is about artifacts, notes,
> photos, etc.
Does this mean that I should condense all the tables that now share the
foreign key of SiteProvenience into one? For example, here's a bit of what I
have now:
tblNotes (this refers to field notes and maps- very different from reports)
*NotesID
SiteProv
Type
Location
Comments
tblPhotographic
*PhotoID
SiteProv
Format
Subject
Location
FullFileName
Notes
(thanks for the FullFileName suggestion. It will be useful for present and
future records. Most of what I'm dealing with right now are various formats
of film that need to be archived)
[I can see clearly that my old tblMainArtifact and tblArtifact should be
combined into a new comprehensive tblArtifact]
tblArtifact
*ArtifactID
SiteProv
Excavator (thank's for the advice about the People table, but I'm not sure I
want to do that yet)
DateExcavated
Cataloger
DateCataloged
ArtifactNum
PieceCount (yes, there can be multiple pieces cataloged together)
Material
etc....
So--- do all of those tables get combined? Maybe that seems weird to me
because I'm trying to do with tables what I should be doing with queries.
Jack MacDonald - 03 Jan 2005 21:31 GMT
No - keep them in separate tables since they represent different
entities.
>Does this mean that I should condense all the tables that now share the
>foreign key of SiteProvenience into one? For example, here's a bit of what I
[quoted text clipped - 37 lines]
>So--- do all of those tables get combined? Maybe that seems weird to me
>because I'm trying to do with tables what I should be doing with queries.
**********************
jackmacMACdonald@telusTELUS.net
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security