Change the code in the Data Item Number 1 section in the P/L Statement per Period report (3010554) as follows:
Existing code 1...
SectionHeight=1692;
}
CONTROLS
{
{ 25 ;Shape ;0 ;846 ;18150;423 ;ShapeStyle=HorzLine }
// Delete the following line.
{ 26 ;Label ;16200;423 ;1950 ;423 ;ParentControl=32;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=ActAmtCaption }
...
Replacement code 1...
SectionHeight=1692;
}
CONTROLS
{
{ 25 ;Shape ;0 ;846 ;18150;423 ;ShapeStyle=HorzLine }
// Add the following line.
{ 26 ;Label ;14100;423 ;1950 ;423 ;ParentControl=32;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=ActAmtCaption }
...
Existing code 2...
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=ActAmtCaption }
// Delete the following lines.
{ 27 ;Label ;14100;423 ;1950 ;423 ;ParentControl=9;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=ActAmt_Control9Caption }
// End of the lines.
{ 28 ;Label ;11400;423 ;1650 ;423 ;ParentControl=30;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
...
Replacememt code 2...
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=ActAmtCaption }
{ 28 ;Label ;11400;423 ;1650 ;423 ;ParentControl=30;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
...
Existing code 3...
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=PctCaption }
// Delete the following line.
{ 46 ;Label ;9300 ;423 ;1950 ;423 ;ParentControl=10;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
CaptionML=[ENU=Debit;
...
Replacement code 3...
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=PctCaption }
// Add the following line.
{ 46 ;Label ;7200 ;423 ;1950 ;423 ;ParentControl=10;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
CaptionML=[ENU=Debit;
...
Existing code 4...
CaptionML=[ENU=Debit;
DES=Soll;
ITS=Dare;
FRS=D‚bit];
DataSetFieldName=DebitCaption }
// Delete the following lines.
{ 47 ;Label ;7200 ;423 ;1950 ;423 ;ParentControl=12;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=CompareAmt_Control12Caption }
// End of the lines.
{ 48 ;Label ;1650 ;0 ;5400 ;846 ;ParentControl=24;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=PADSTR____Indentation___2____NameCaption }
...
Replacement code 4...
CaptionML=[ENU=Debit;
DES=Soll;
ITS=Dare;
FRS=D‚bit];
DataSetFieldName=DebitCaption }
{ 48 ;Label ;1650 ;0 ;5400 ;846 ;ParentControl=24;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=PADSTR____Indentation___2____NameCaption }
...
Existing code 5...
DataSetFieldName=ComparePeriodTxt }
{ 44 ;TextBox ;14100;0 ;4050 ;423 ;HorzAlign=Right;
FontBold=Yes;
SourceExpr=ActPeriodTxt;
DataSetFieldName=ActPeriodTxt }
}
}
{ PROPERTIES
{
SectionType=Body;
...
Replacement code 5...
DataSetFieldName=ComparePeriodTxt }
{ 44 ;TextBox ;14100;0 ;4050 ;423 ;HorzAlign=Right;
FontBold=Yes;
SourceExpr=ActPeriodTxt;
DataSetFieldName=ActPeriodTxt }
// Add the following lines.
{ 47 ;Label ;9300 ;423 ;1950 ;423 ;ParentControl=12;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=CompareAmt_Control12Caption }
{ 27 ;Label ;16200;423 ;1950 ;423 ;ParentControl=9;
HorzAlign=Right;
VertAlign=Bottom;
FontBold=Yes;
MultiLine=Yes;
DataSetFieldName=ActAmt_Control9Caption }
// End of the lines.
}
}
{ PROPERTIES
{
SectionType=Body;
...
Change the code in the ComparisonTypeOnAfterValidate function in the P/L Statement per Period report (3010554) as follows:
Existing code 1...
<TableRow>
<Height>0.423cm</Height>
<TableCells>
<TableCell>
<ReportItems>
// Delete the following lines.
<Textbox Name="textbox35">
<CanGrow>true</CanGrow>
<Style>
// End of the lines.
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
...
Replacement code 1...
<TableRow>
<Height>0.423cm</Height>
<TableCells>
<TableCell>
<ReportItems>
// Add the following lines.
<Textbox Name="textbox2">
<CanGrow>true</CanGrow>
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
<Bottom>Solid</Bottom>
</BorderStyle>
<BorderWidth>
<Bottom>1pt</Bottom>
</BorderWidth>
// End of the lines.
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
...
Existing code 2...
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<Value />
// Delete the following line.
<rd:DefaultName>textbox35</rd:DefaultName>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Replacement code 2...
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<Value />
// Add the following line.
<rd:DefaultName>textbox2</rd:DefaultName>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Existing code 3...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Delete the following line.
<Textbox Name="CompareAmt_Control12Caption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Replacement code 3...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Add the following line.
<Textbox Name="DebitCaption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Existing code 4...
<PaddingRight>0.075cm</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Delete the following line.
<Value>=First(Fields!CompareAmt_Control12Caption.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Replacement code 4...
<PaddingRight>0.075cm</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Add the following line.
<Value>=First(Fields!DebitCaption.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Existing code 5...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Delete the following line.
<Textbox Name="DebitCaption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Replacement code 5...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Add the following line.
<Textbox Name="CompareAmt_Control12Caption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Existing code 6...
<PaddingRight>0.075cm</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Delete the following line.
<Value>=First(Fields!DebitCaption.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Replacement code 6...
<PaddingRight>0.075cm</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Add the following line.
<Value>=First(Fields!CompareAmt_Control12Caption.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Existing code 7...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Delete the following line.
<Textbox Name="ActAmt_Control9Caption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Replacement code 7...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Add the following line.
<Textbox Name="ActAmtCaption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Existing code 8...
</BorderWidth>
<FontSize>7pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>0.075cm</PaddingLeft>
// Delete the following lines.
<PaddingRight>0.075cm</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
<Value>=First(Fields!ActAmt_Control9Caption.Value)</Value>
// End of the lines.
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Replacement code 8...
</BorderWidth>
<FontSize>7pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>0.075cm</PaddingLeft>
// Add the following lines.
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
<Value>=First(Fields!ActAmtCaption.Value)</Value>
// End of the lines.
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
...
Existing code 9...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Delete the following line.
<Textbox Name="ActAmtCaption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Replacement code 9...
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
// Add the following line.
<Textbox Name="ActAmt_Control9Caption">
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
...
Existing code 10...
</BorderWidth>
<FontSize>7pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>0.075cm</PaddingLeft>
// Delete the following lines.
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
<Value>=First(Fields!ActAmtCaption.Value)</Value>
// End of the lines.
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
...
Replacement code 10...
</BorderWidth>
<FontSize>7pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>0.075cm</PaddingLeft>
// Add the following lines.
<PaddingRight>0.075cm</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<TextAlign>Right</TextAlign>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
<Value>=First(Fields!ActAmt_Control9Caption.Value)</Value>
// End of the lines.
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
...
Existing code 11...
<DataField>FilterTxt</DataField>
</Field>
<Field Name="ActAmtCaption">
<DataField>ActAmtCaption</DataField>
</Field>
// Delete the following lines.
<Field Name="ActAmt_Control9Caption">
<DataField>ActAmt_Control9Caption</DataField>
</Field>
// End of the lines.
<Field Name="DiffAmountCaption">
<DataField>DiffAmountCaption</DataField>
</Field>
<Field Name="PctCaption">
<DataField>PctCaption</DataField>
...
Replacement code 11...
<DataField>FilterTxt</DataField>
</Field>
<Field Name="ActAmtCaption">
<DataField>ActAmtCaption</DataField>
</Field>
<Field Name="DiffAmountCaption">
<DataField>DiffAmountCaption</DataField>
</Field>
<Field Name="PctCaption">
<DataField>PctCaption</DataField>
...
Existing code 12...
<DataField>PctCaption</DataField>
</Field>
<Field Name="DebitCaption">
<DataField>DebitCaption</DataField>
</Field>
// Delete the following lines.
<Field Name="CompareAmt_Control12Caption">
<DataField>CompareAmt_Control12Caption</DataField>
</Field>
// End of the lines.
<Field Name="PADSTR____Indentation___2____NameCaption">
<DataField>PADSTR____Indentation___2____NameCaption</DataField>
</Field>
<Field Name="Cost_Type__No__Caption">
<DataField>Cost_Type__No__Caption</DataField>
...
Replacement code 12...
<DataField>PctCaption</DataField>
</Field>
<Field Name="DebitCaption">
<DataField>DebitCaption</DataField>
</Field>
<Field Name="PADSTR____Indentation___2____NameCaption">
<DataField>PADSTR____Indentation___2____NameCaption</DataField>
</Field>
<Field Name="Cost_Type__No__Caption">
<DataField>Cost_Type__No__Caption</DataField>
...
Existing code 13...
<DataField>ComparePeriodTxt</DataField>
</Field>
<Field Name="ActPeriodTxt">
<DataField>ActPeriodTxt</DataField>
</Field>
<Field Name="ActAmt">
<DataField>ActAmt</DataField>
</Field>
<Field Name="ActAmtFormat">
<DataField>ActAmtFormat</DataField>
...
Replacement code 13...
<DataField>ComparePeriodTxt</DataField>
</Field>
<Field Name="ActPeriodTxt">
<DataField>ActPeriodTxt</DataField>
</Field>
// Add the following lines.
<Field Name="CompareAmt_Control12Caption">
<DataField>CompareAmt_Control12Caption</DataField>
</Field>
<Field Name="ActAmt_Control9Caption">
<DataField>ActAmt_Control9Caption</DataField>
</Field>
// End of the lines.
<Field Name="ActAmt">
<DataField>ActAmt</DataField>
</Field>
<Field Name="ActAmtFormat">
<DataField>ActAmtFormat</DataField>
...