title: Get fields present within field group [ax 2009]
body: <p>AX allows one to define Field Group ( E.g. Dimension ) as an Array in Extended Data Types. How do I get the array elements information, such as label and base type?</p>
  
  <p>Code : </p>
  
  <pre><code> tID = dict.tableName2Id('CustTable');
  counter = 0;
  dt = new DictTable(tID);
  if (dt)
  {
      counter = dt.fieldNext(counter);
      while (counter)
      {
          df = dt.fieldObject(counter);
          arrSize = df.arraySize();
          if (df &amp;&amp; arrSize &gt; 1)
          {
              // Field group, get array elements and types ??
  
          }
          counter = dt.fieldNext(counter);
      }
  }
  </code></pre>
  
  <p>Thanks in advance. </p>