G
Guest
I am working to revise a database program from dBase III+ to Access
2000. This is my first experience with writing a database. The dBase
III+ was wriiten years ago using a Timex computer and later revised.
Most everything is done but I have a question about reports.
The database is for a laboratory information system. The report I
want to create needs to do the following:
1. The query and table that contains the lab results has multiple
field names that may or may not have data. For example,
Protein result, protein status, protein min, protein max may or may
not have data that applies to each and every sample. Sample A may
require the protein test while sample B does not. Sample B may
require fat result, fat status, fat min, fat max, calcium result,
calcium status, calcium min, calcium max. The report needs to list
the applicable fieldnames and results for each sample but should not
list fieldnames if no results are found in the query. How do I do
this? We were able to do it in dBase III+, so that the only field
names and results printed for each specific sample. The results
always printed in the same area of the report but moved up and down
the report based on the number of results per sample. Some samples
may have 3 results others may have 8 or more.
Also,
2. I want to create a out of specification report using the same
query. Each test result has a minimum and maximum value associated
with it. I want to produce a report that will list each assay result
and when it is out of specification. For example, A sample may be
assayed for protein, fat, and calcium. Each assay has a in the query
a max and min value that is specific for the assay. I need report
that will treat each assy indepedent of the others and will print each
assay that exceeds the max and min values for each sample.
Thanks.
2000. This is my first experience with writing a database. The dBase
III+ was wriiten years ago using a Timex computer and later revised.
Most everything is done but I have a question about reports.
The database is for a laboratory information system. The report I
want to create needs to do the following:
1. The query and table that contains the lab results has multiple
field names that may or may not have data. For example,
Protein result, protein status, protein min, protein max may or may
not have data that applies to each and every sample. Sample A may
require the protein test while sample B does not. Sample B may
require fat result, fat status, fat min, fat max, calcium result,
calcium status, calcium min, calcium max. The report needs to list
the applicable fieldnames and results for each sample but should not
list fieldnames if no results are found in the query. How do I do
this? We were able to do it in dBase III+, so that the only field
names and results printed for each specific sample. The results
always printed in the same area of the report but moved up and down
the report based on the number of results per sample. Some samples
may have 3 results others may have 8 or more.
Also,
2. I want to create a out of specification report using the same
query. Each test result has a minimum and maximum value associated
with it. I want to produce a report that will list each assay result
and when it is out of specification. For example, A sample may be
assayed for protein, fat, and calcium. Each assay has a in the query
a max and min value that is specific for the assay. I need report
that will treat each assy indepedent of the others and will print each
assay that exceeds the max and min values for each sample.
Thanks.