When trying to Sum I get "Unknown variable or datafield"

Errors are:

Unknown variable or datafield: FastSTKTKLINES."STKTKLQTYLINE"

Unknown variable or datafield: FastSTKTKLINES."STKTKLQTYVARIANCE_COST"

The above failure lines exist and display data in the <TfrxMasterData> band, see below:

 <TfrxMemoView Name="Memo14" Left="419.52783" Top="0" Width="71.81107" Height="17.00787402" DataField="STKTKL_QTY_VARIANCE_COST" DataSetName="FastSTKTKLINES" HAlign="haRight" Text="[FastSTKTKLINES.&#34;STKTKL_QTY_VARIANCE_COST&#34;]"/>

   <TfrxMemoView Name="Memo18" Left="638.74057" Top="0" Width="75.59054874" Height="17.00787402" DataField="STKTKL_QTY_LINE" DataSetName="FastSTKTKLINES" HAlign="haRight" Text="[FastSTKTKLINES.&#34;STKTKL_QTY_LINE&#34;]"/>

   yet gererate errors in the report summary band,: I have literally given up!

<TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22.67718" Left="0" Top="240" Width="718.1107">

   <TfrxMemoView Name="Memo15" Left="355.27582" Top="0" Width="41.57483" Height="18.89765" Text="Totals:"/>

   <TfrxMemoView Name="memoCostVarianceTotal" Left="400.63018" Top="0" Width="90.70866142" Height="18.89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Frame.Color="12632256" Frame.Typ="15" HAlign="haRight" Text="[Sum(&#60;FastSTKTKLINES.&#34;STKTKL_QTY_VARIANCE_COST&#34;&#62;, Band4, 1)]"/>

   <TfrxMemoView Name="memoLineTotal" Left="623.62245" Top="0" Width="90.70872" Height="18.89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Frame.Color="12632256" Frame.Typ="15" HAlign="haRight" Text="[Sum(&#60;FastSTKTKLINES.&#34;STKTKL_QTY_LINE&#34;&#62;, Band4, 1)]"/>

  </TfrxReportSummary>


Kind Regards,


Robert

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.