Skip to Content
author's profile photo Former Member
Former Member

Problem in matrix Column


In a matrix column if all row contains data 'A' means in the header text it should display 'A' but if in matrix column if 5 rows contains 'A' and 3 rows contains 'B' means in the header text should display 'B'. How to do this i have done but its not working correctly in all entries.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 04, 2008 at 06:23 AM

    Hi Madhavi,

    sounds like an algorithm problem in your code.

    you problem should be no big deal:

    1. you have have two counter variables

    2. go through the matrix.rowcount

    3. look in the column if there's A or B

    4. add 1 to the correct counter

    5. look which counter is higher - more A or more B

    6. set the column title.

    lg David

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.