J
javablood
I query a table to pull records containing IDs and values for a specific
period. Each ID will have records with either values equal to zero or a
combination of records with values equal to zero and greater than zero. I
perform a series of calculations on those records for which there are values
greater than zero and then report the results. I want the report to show all
the IDs for that period but for those IDs that have values equal to zero and
greater than zero, I only want the greater than zero values. I am able to
create the queries and perform the calculations but I am stuck on how to
select only those IDs that have values greater than zero (when the ID has
values are greater than and equal to zero) without losing those IDs that only
have values equal to zero. Any ideas are welcome!
Thanks,
period. Each ID will have records with either values equal to zero or a
combination of records with values equal to zero and greater than zero. I
perform a series of calculations on those records for which there are values
greater than zero and then report the results. I want the report to show all
the IDs for that period but for those IDs that have values equal to zero and
greater than zero, I only want the greater than zero values. I am able to
create the queries and perform the calculations but I am stuck on how to
select only those IDs that have values greater than zero (when the ID has
values are greater than and equal to zero) without losing those IDs that only
have values equal to zero. Any ideas are welcome!
Thanks,