elsenorjose
Technical User
Hello everyone,
I am trying to modify the solution in thread149-655589 to work without a user provided parameter and instead use a field in a table that indicates how many columns a report should have.
The table summarizes a series of tests for pharmaceutical products, each test being a column in the table. The table is really more of a view, but was designed as a table, since the underlying join logic is very complex. The result is a table similar to this:
The user will enter the LOT_NUMBER as a parameter and based on that lot number, the number of tests (NUM_TESTS value) is determined; Each lot has a distinct number of tests.
I've been working on this for a while and think I'm lost in the trees and can't see the forest. Can someone help me walk through lbass's formulas to use the 'NUM_TESTS' value to determine the number of columns to display?
Thank you.
I am trying to modify the solution in thread149-655589 to work without a user provided parameter and instead use a field in a table that indicates how many columns a report should have.
The table summarizes a series of tests for pharmaceutical products, each test being a column in the table. The table is really more of a view, but was designed as a table, since the underlying join logic is very complex. The result is a table similar to this:
Code:
CLIENT
LOT_NUMBER
CONDITION
TIMEPOINT
TEST1_NAME
TEST1_LIMIT
RESULT1
TEST2_NAME
TEST2_LIMIT
RESULT2
...
NUM_TESTS
The user will enter the LOT_NUMBER as a parameter and based on that lot number, the number of tests (NUM_TESTS value) is determined; Each lot has a distinct number of tests.
I've been working on this for a while and think I'm lost in the trees and can't see the forest. Can someone help me walk through lbass's formulas to use the 'NUM_TESTS' value to determine the number of columns to display?
Thank you.