1 Reply Latest reply: Feb 9, 2012 7:45 AM by frank crezee RSS

    Dynamic Tablebox based on Listbox selections

    Paul Nockolds

      Hi All

       

      Using QV11.

       

      I have a listbox with a list of say 5 fields in it.

       

      If the user selects say 3 of these i would like to display/populate a tablebox with only the fields the user has selected from the listbox and thie rassociated data.

       

      For example:

       

      I have a listbox:   FIELDS

       

      with...

       

      Field1

      Field2

      ...

      Field5

       

      The user selects Field1, Field2 & Field3

       

      I have tablebox or straight table chart that then has these 3 selected fields in it as the column headers and all the associated data underneath each column.

       

      I am thinking some sort of macro to create and populate the tablebox on the fly.

       

      Any ideas?