In article
<
HelpfulHarry-2...@203-118-187-7.dsl.dyn.ihug.co.nz>,
It sounds like the OP wants to link one photo to many main table
records. In that case the simplest way, as you say, is to put a foreign
key field for the photo ID in the main table, so that one photo can be
linked to many main table records. This is commonly known as a
one-to-many relationship.
If the OP also wants to link many main table records to one photo, then
he would need a many-to-many relationship. The most robust way to do
that is by means of a join table (earlier response called is a "cross"
table), that has two foreign keys, one for the main table record and one
for the photo record, and would have one record for each Join of a photo
to a main record. The join table could also have other fields to hold
useful information about that specific Join, such as why the photo is
significant to the main table record it is joining or why the main table
record is significant to the photo.