kevind
|
| Posted: 11/21/2002, 5:15 PM |
|
I have a query that pulls up a discussion - the first record contains both the question and the first response. In the next record the same question text is repeated but, new responses appear. Records in the query repeat the question until all responses are exhausted.
What I'd like to do is build a grid where I can hide the original question once I have shown it in the first row. Format like this:
question
response1
response2
response3
question2
Is there an easy way to hide the row ( <tr> ) based on a condition. I know I can hide the whole row but, this kills the question too.
HELP.
|
|
|
 |
Tom
|
| Posted: 11/26/2002, 10:12 AM |
|
In CCS I solved that issue by maintaining the previous question in a variable (and updating it with every row retrieved) that held the question. If the previous question variable was equal to the new row question, then I set all of the applicable HIDEfield to true. If was not equal, I set the HIDEfield to false. Look at the generated code for the grid to see CC naming convention.
|
|
|
 |
|