Mike,
Yes, there is a much easier way of doing it. From your description, I
only have an incomplete picture of your requirements. But really,
what you have done is more like a spreadsheet or something like that.
This sort of design is not really suitable for a database. I strongly
recommend that you create tables that correctly reflect the nature of
the data and the relationships between the different data entities.
What that means is something like this (just a couple of ideas to give
you the general concept... I would need more details before I could
give more specific help):
Table: Samples
SampleNumber
SampleName
Table: Tests
TestNumber
NameOfTest
Table: SampleTests
SampleTestID
SampleNumber
TestNumber
TestResult
etc.
In other words, you end up with your main data table having a *record*
for each Test for each Sample, not a *field*. This is the database
approach. If you do it like this, your data entry, averages, other
statistical analyses, reports, and all other aspects of data
management, will be much simpler.
- Steve Schapel, Microsoft Access MVP