G
Guest
Hi - I posted in Module Coding but not sure if it was the right place,
I'm using Access 2003. I have a request from one of my departments that is
stumping me. It is essentially a billing report request. Here’s the
scenario. Units come in for testing. Some units come in for “panel†testing
(a series of tests – there are 9 panels at this point) and some come in for
testing where individual test(s) are ordered – most belong to at least one
panel. After initial testing, reactive tests may automatically get scheduled
for additional test(s). The host system doesn’t store whether the unit was a
panel order or whether several individual tests were ordered. Nor does it
show whether tests were “reflex†tests – ordered due to a reactive result.
Panels share many of the same tests often with just 1 test being different.
I’m trying to figure out how to determine whether a panel (and which panel)
was ordered when there are often additional tests added (by the system or
client). I created tables that match tests with panels but I can’t figure
out how to evalutate the set of unit tests against the various panel sets.
It would seem that I need to compare one array against another array which
I’m not sure how to do. Here’s how I imagine it. First I need to
create/populate an array of tests ordered by unit. Then I need a panel
arrary (redimed after each evaluation?) that I can use to compare if all
tests of a panel starting with the largest panel are found in the unit test
array.
Once I identify what panel was ordered (if one was ordered), I need to
exclude those tests from the report (substituting the name of panel) but show
any extra tests that were ordered. Am I on the right track? If so, can
someone help me with the arrays? If there is another way, I’m open to that.
Thanks
LeAnn
I'm using Access 2003. I have a request from one of my departments that is
stumping me. It is essentially a billing report request. Here’s the
scenario. Units come in for testing. Some units come in for “panel†testing
(a series of tests – there are 9 panels at this point) and some come in for
testing where individual test(s) are ordered – most belong to at least one
panel. After initial testing, reactive tests may automatically get scheduled
for additional test(s). The host system doesn’t store whether the unit was a
panel order or whether several individual tests were ordered. Nor does it
show whether tests were “reflex†tests – ordered due to a reactive result.
Panels share many of the same tests often with just 1 test being different.
I’m trying to figure out how to determine whether a panel (and which panel)
was ordered when there are often additional tests added (by the system or
client). I created tables that match tests with panels but I can’t figure
out how to evalutate the set of unit tests against the various panel sets.
It would seem that I need to compare one array against another array which
I’m not sure how to do. Here’s how I imagine it. First I need to
create/populate an array of tests ordered by unit. Then I need a panel
arrary (redimed after each evaluation?) that I can use to compare if all
tests of a panel starting with the largest panel are found in the unit test
array.
Once I identify what panel was ordered (if one was ordered), I need to
exclude those tests from the report (substituting the name of panel) but show
any extra tests that were ordered. Am I on the right track? If so, can
someone help me with the arrays? If there is another way, I’m open to that.
Thanks
LeAnn