My db has a table called M_Employees with the employee demographics. Then I have a table called M_TestsAudio with audiogram results. These two tables are linked by the employee's SSN.
Now for my problem. Each employee has multiple audiograms. However, one audiogram for the left ear and one for the right ear are used as a reference (or baseline) and it could be a different date for the left and right ear. There are some complex (complex to me anyway) lookups and calculations which I have pretty much figured out but the only way I've gotten it to work is to put separate fields in the M_TestsAudio table for the current results and the baseline results. I know that is not the right way to do it as there are twice as many data fields as are necessary. Plus when I go to enter a new current audiogram in my form it brings up new blank fields for my reference audiogram. I can't figure out how to keep the reference audiogram on the form even when I add a new current audiogram.
So how do I indicate that a particular audiogram is to be used as the reference? And then show (and keep) that reference audiogram on the form with the current audiogram?
I've thought about putting the baseline data in a separate table but that also seems like extra data fields that are unnecessary.
Any help would be appreciated here...
Thanks in advance,
Bekah
Now for my problem. Each employee has multiple audiograms. However, one audiogram for the left ear and one for the right ear are used as a reference (or baseline) and it could be a different date for the left and right ear. There are some complex (complex to me anyway) lookups and calculations which I have pretty much figured out but the only way I've gotten it to work is to put separate fields in the M_TestsAudio table for the current results and the baseline results. I know that is not the right way to do it as there are twice as many data fields as are necessary. Plus when I go to enter a new current audiogram in my form it brings up new blank fields for my reference audiogram. I can't figure out how to keep the reference audiogram on the form even when I add a new current audiogram.
So how do I indicate that a particular audiogram is to be used as the reference? And then show (and keep) that reference audiogram on the form with the current audiogram?
I've thought about putting the baseline data in a separate table but that also seems like extra data fields that are unnecessary.
Any help would be appreciated here...
Thanks in advance,
Bekah
Comment