How to Create Dynamic Cross-Tab Query Reports?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Moah Scout
    New Member
    • Oct 2010
    • 58

    How to Create Dynamic Cross-Tab Query Reports?

    Hi!
    I have a crosstab Query with constant RowHeadings and Dynamic Column Headings. This Query is used as a record source for the reports as follows:
    RowHeadings includes:
    1. CustoName
    2. CustoID
    3. Products(SumOFP roducts)

    Column Headings includes:
    ColumnHeadings.

    The problem is, with my Reports layout created with three ProductsName on the ColumnHeadings, I cant use the same layout with five ProductsNames on the Column Headings. E.g
    Code:
    CustoID CustoNAME Products ColHead1 ColHead2 ColHead3
      1      John       5        Tomato  Cull      Maize
      2      Jack       0        Cull    Mave      Nano
    When the number of ColHeads increased from three to five or six, it cant appear on the myreports. I sometimes add the extra Column Manually,
    Is there any other alternative of adding the extra Column automatically on the same layout?
  • repath
    New Member
    • Dec 2009
    • 14

    #2
    Hi Moah Scout,
    as per my knowledge, reports are not dynamic:

    Hence you should have code to place the number of required controls as headers in header section and text boxes in the detailed section so that they are automatically populated. (but at the contents grow, this becomes too illegible to read.

    the following link may be of some help:


    With regards
    Repath Athyala
    Last edited by repath; Dec 31 '10, 11:49 AM. Reason: added link from our site as a help to the question

    Comment

    • Moah Scout
      New Member
      • Oct 2010
      • 58

      #3
      Thanks!
      I know that contents of dynamic report of MMcarthy, Nuco and Shap but couldnt settle my problem. The number of columns changes in my case, and I want to keep the same template!
      I have three RowHeadings (do not Change) but the number Column headings changes from 3 to 27. When the templates prepared with three colHeading it wont function with 20columnHeading s.
      I know I need a code on this but how?
      please help!

      Comment

      • Moah Scout
        New Member
        • Oct 2010
        • 58

        #4
        Being quite to this extent!
        Does it mean impossible? I dont think so!!!
        Should you think you need more clarification on this question, I will

        Comment

        Working...