title: How to break date field into year, quater, month, day in FastCube (under Delphi XE2) using coding?
body: <p><strong>What I want to achieve:-</strong>
  I want to add the fields such as year_mydatefield, month_mydatefield, quater_mydatefield on x-axis.  </p>
  
  <p>These break down fields are available during runtime in fields list, but I want to code them so that they appear automatically.</p>
  
  <p>Is there any variable defined in fcCube.pas for this type of fields? </p>
  
  <p>Or I can use other methods such as fcslice.AddCalcFieldTo?  How to use them?</p>
  
  <p><strong>Research done:-</strong>
  From the example, I have learn how to put measures on X-axis using sMeasuresFieldName.</p>
  
  <pre><code>fcSlice1.AddFieldTo(sMeasuresFieldName, '', rf_CapXAx);
  </code></pre>
  
  <p><em>sMeasuresFieldName</em> is defined in <em>fcCube.pas</em>.  Unfortunately, Delphi XE2 cannot locate the fcCube.pas, and the programmer manual from fastCube only lists out all the methods and parameters but does not explain how to use them, limited example as well.</p>