Y
yunlai yang
Hi, I have a problem on storing non-regular data in excess tables when try
to create a database for all the measurements of my samples (over 500).
There are many measured properties for each sample. Most of the properties
are REGULAR, only have one value, it is quite easy to create a table to
store them. However there are a couple of properties are UN_REGULAR, they
have over 50 repeated measurements. An example of this property is the
density of a sample measured at different temperatures. I have difficulties
to store these un-regular properties in tables.
I think there could be two approaches. One is store the dataset of a
property with repeated values normally in a table as for other regular
properties. In this case for each pair of measurements (temperature and
density) I need the sample code (as foreign key) to indicate them. That is
for one sample I need store same number of the SAME sample code as the that
of the repeated measurements. This might work, but I hate it. First the
table looks ugly and unlogic. Second it might make related querries
performance poor.
Another approach I can think of is to store the measured dataset of the
un-regular properties into a text or Excel file and then write a piece a VBA
code to operate them. The draqbacks of this approach are the lack of
reliability and the needs of effort of coding.
I am sure there are some experts overther who have a better solution or can
direct me to a right direction.
Your help is very appreciated.
Yunlai
(e-mail address removed)
to create a database for all the measurements of my samples (over 500).
There are many measured properties for each sample. Most of the properties
are REGULAR, only have one value, it is quite easy to create a table to
store them. However there are a couple of properties are UN_REGULAR, they
have over 50 repeated measurements. An example of this property is the
density of a sample measured at different temperatures. I have difficulties
to store these un-regular properties in tables.
I think there could be two approaches. One is store the dataset of a
property with repeated values normally in a table as for other regular
properties. In this case for each pair of measurements (temperature and
density) I need the sample code (as foreign key) to indicate them. That is
for one sample I need store same number of the SAME sample code as the that
of the repeated measurements. This might work, but I hate it. First the
table looks ugly and unlogic. Second it might make related querries
performance poor.
Another approach I can think of is to store the measured dataset of the
un-regular properties into a text or Excel file and then write a piece a VBA
code to operate them. The draqbacks of this approach are the lack of
reliability and the needs of effort of coding.
I am sure there are some experts overther who have a better solution or can
direct me to a right direction.
Your help is very appreciated.
Yunlai
(e-mail address removed)