Menu

nested table problem

vinoth
2004-12-09
2013-06-03
  • vinoth

    vinoth - 2004-12-09

    Hi

    I have three levels of nested tables in a single form. Somehow, the record shown for middle level table (maxrow=1) does not relate to the first level, meaning, parent child relationship is not being maintained...

    Regards
    Vinoth

     
    • Henner Kollmann

      Henner Kollmann - 2004-12-09

      Never tried 3 levels of nested tables.

      Could you try to reproduce this with an bookstore based  example?
      Then i could try to fix it.

      Henner

       
    • vinoth

      vinoth - 2004-12-10

      Hi,

      Have included "whereClause" attribute in the middle level dbForm. When this is done, the "parentField" and "childField" attributes of the middle level dbForm isnt maintained and only the whereClause specified now is along maintained.
      When explicitly included the relation(parent-child) in the whereClause along with the existing clause, it seems to work fine.
      1) Is this the only way out or is there an optimum way to achieve this?
      2) When whereClause attribute is used, will it over ride the parent-child relationship ?
      How do we over come this?
      Thanks in advance.
      regards,
      vinoth.

       
      • Henner Kollmann

        Henner Kollmann - 2004-12-10

        whereClause overrides everything!
        This is for freeform select only - so you can not use it with parent-child relations.
        See docs for detail.
        If you need filtering use some of the other filter methods.
        Henner

         

Log in to post a comment.

MongoDB Logo MongoDB