when preview drag scroll exception EIntOverflow Integer overflow

there is report content

<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.3" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="2047" PreviewOptions.Zoom="1" PreviewOptions.ZoomMode="zmPageWidth" PrintOptions.Printer="w]" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39398.6756311458" ReportOptions.Description.Text="" ReportOptions.LastChange="39398.7274819097" ScriptLanguage="PascalScript" ScriptText.Text="begin

end." StoreInDFM="False" PropData="044C65667403DC0003546F70020408446174617365747301010C2000000020446174615365743D2271794D2220446174615365744E616D653D2271794D2200010C2000000020446174615365743D227179442220446174615365744E616D653D22717944220000095661726961626C657301010C10000000204E616D653D222046726F6D4170702200010C11000000204E616D653D225072696E744D656D6F2200010C11000000204E616D653D2242427579795F6E756D2200010C11000000204E616D653D2245427579795F6E756D220000055374796C650100">
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
<TfrxBDEQuery Name="qyM" UserName="qyM" CloseDataSource="True" FieldAliases.Text="" SQL.Text="select A.*
,B.Supp_nm1,B.Invo_adr,B.Faxx_num
from BUYMF A
left join SUPPORT B On(A.Supp_num=B.Supp_num)
where A.Buyy_num between :BBuyy_num and :EBuyy_num" DatabaseName="dbProduDB" SessionName="Default" PropData="05704C65667402240470546F70021C0A506172616D657465727301010C46000000204E616D653D2242427579795F6E756D222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B42427579795F6E756D262336323B2200010C46000000204E616D653D2245427579795F6E756D222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B45427579795F6E756D262336323B220000"/>
<TfrxBDEQuery Name="qyD" UserName="qyD" CloseDataSource="True" FieldAliases.Text="" Master="qyM" SQL.Text="select A.*
,B.Part_nam,B.Part_spc,B.Part_fet,B.Cust_mod
,B.Upcc_num
from BUYDF A
left join PARTMF B On(A.Part_num=B.Part_num)
where A.Buyy_num = :Buyy_num " DatabaseName="dbProduDB" SessionName="Default" PropData="05704C65667402240470546F7002600A506172616D657465727301010C24000000204E616D653D22427579795F6E756D222044617461547970653D226674537472696E67220000"/>
</TfrxDataPage>
<TfrxReportPage Name="Page1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Ó©" Font.Style="0" PaperWidth="216" PaperHeight="278" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
<TfrxPageFooter Name="PageFooter1" Height="132.28355" Left="0" Top="423.30736" Width="778.58318">
<TfrxMemoView Name="Memo7" Left="56.69295" Top="0" Width="616.06339" Height="90.70872" StretchMode="smActualHeight" AutoWidth="True" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-11" Font.Name="sө" Font.Style="0" ParentFont="False" Text="1.交貨期限:承製廠商必須確實遵守本訂購單之交期,如未按期交貨,所有損失費用皆由賣方負責。
2.品質要求:承製廠商須符合本公司ISO9000品質管理系統之相關規定。
3.品質保證期限:交貨後六個月。
4.進貨檢驗如發現不良品,承製廠商接獲書面通知後三日內,應將退貨部份攜回,並於規定期限內補送,否則無條件賠償損失。
5.檢驗費用:品質欠佳,品管部門要求全檢時,檢驗費用由承製廠商負擔。
6.交貨時請在送貨單上註明工令單號碼及訂購單號碼。
7.環境要求:承製廠商須符合本公司ISO14000環境管理系統之相關規定。"/>
<TfrxMemoView Name="Memo8" Left="0" Top="113.3859" Width="755.906" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="核准____________________ 主管________________________________ 主辦人________________________________"/>
<TfrxMemoView Name="Memo9" Left="0" Top="0" Width="68.03154" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-11" Font.Name="sө" Font.Style="0" ParentFont="False" Text="注意事項:"/>
<TfrxLineView Name="Line1" Align="baWidth" Left="0" Top="0" Width="778.58318" Height="0" Frame.Width="2" Diagonal="True"/>
</TfrxPageFooter>
<TfrxMasterData Name="MasterData1" Height="105.82684" Left="0" Top="41.57483" Width="778.58318" ColumnWidth="0" ColumnGap="0" DataSet="qyM" DataSetName="qyM" RowCount="0">
<TfrxMemoView Name="Memo2" Left="0" Top="15.11812" Width="181.41744" Height="18.89765" AutoWidth="True" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="ө" Font.Style="0" ParentFont="False" Text="採購單號:[qyM."Buyy_num"]"/>
<TfrxMemoView Name="Memo10" Left="340.1577" Top="0" Width="94.48825" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-16" Font.Name="ө" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="訂 購 單"/>
<TfrxLineView Name="Line4" Align="baWidth" Left="0" Top="105.82684" Width="778.58318" Height="0" Frame.Typ="4" Frame.Width="2"/>
<TfrxMemoView Name="Memo14" Left="0" Top="37.7953" Width="272.12616" Height="18.89765" AutoWidth="True" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="ө" Font.Style="0" ParentFont="False" Text="賣方:[qyM."Supp_num"] [qyM."Supp_nm1"]"/>
<TfrxMemoView Name="Memo15" Left="0" Top="60.47248" Width="272.12616" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="ө" Font.Style="0" ParentFont="False" Text="地址:[qyM."Invo_adr"]"/>
<TfrxMemoView Name="Memo16" Left="0" Top="83.14966" Width="272.12616" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="ө" Font.Style="0" ParentFont="False" Text="傳真:[qyM."Faxx_num"]"/>
</TfrxMasterData>
<TfrxDetailData Name="DetailData1" Height="41.57483" Left="0" Top="230.55133" Width="778.58318" ColumnWidth="0" ColumnGap="0" DataSet="qyD" DataSetName="qyD" RowCount="0" Stretched="True">
<TfrxMemoView Name="Memo3" Left="0" Top="0" Width="75.5906" Height="18.89765" AutoWidth="True" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Ó©" Font.Style="0" ParentFont="False" Text="[qyD."Part_num"]"/>
<TfrxMemoView Name="Memo6" Left="75.5906" Top="0" Width="230.55133" Height="18.89765" StretchMode="smActualHeight" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Ó©" Font.Style="0" ParentFont="False" Text="[qyD."Part_nam"]"/>
<TfrxMemoView Name="Memo11" Left="18.89765" Top="18.89765" Width="472.44125" Height="18.89765" StretchMode="smActualHeight" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[qyD."Part_spc"]"/>
<TfrxMemoView Name="Memo12" Left="321.26005" Top="0" Width="170.07885" Height="18.89765" StretchMode="smActualHeight" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Ó©" Font.Style="0" ParentFont="False" Text="[qyD."Part_fet"]"/>
<TfrxLineView Name="Line2" Align="baWidth" Left="0" Top="41.57483" Width="778.58318" Height="0" Diagonal="True"/>
</TfrxDetailData>
<TfrxGroupHeader Name="GroupHeader1" Height="0" Left="0" Top="18.89765" Width="778.58318" Condition="qyM."Buyy_num"" StartNewPage="True"/>
<TfrxGroupFooter Name="GroupFooter1" Height="22.67718" Left="0" Top="340.1577" Width="778.58318">
<TfrxMemoView Name="Memo1" Left="0" Top="0" Width="94.48825" Height="18.89765" StretchMode="smActualHeight" AutoWidth="True" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[qyM."Ship_mrk"]"/>
</TfrxGroupFooter>
<TfrxFooter Name="Footer1" Height="22.67718" Left="0" Top="294.80334" Width="778.58318">
<TfrxMemoView Name="Memo13" Left="491.3389" Top="0" Width="102.04731" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-11" Font.Name="sө" Font.Style="0" ParentFont="False" WordWrap="False" Text="總計:[SUM(<qyD."Part_qty">*<qyD."Part_prc">,DetailData1) #n%2.0n]"/>
</TfrxFooter>
<TfrxHeader Name="Header1" Height="37.7953" Left="0" Top="170.07885" Width="778.58318">
<TfrxMemoView Name="Memo4" Left="0" Top="0" Width="94.48825" Height="18.89765" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="ө" Font.Style="0" ParentFont="False" Text="物料編號"/>
</TfrxHeader>
</TfrxReportPage>
</TfrxReport>


Comments

  • edited November 2007
    I'm use Delphi 5

    maybe problem in

    <TfrxGroupFooter Name="GroupFooter1" Height="22.67718" Left="0" Top="400.63018" Width="823.93754" Stretched="True">
    <TfrxMemoView Name="Memo33" Left="0" Top="0" Width="188.9765" Height="18.89765" StretchMode="smActualHeight" AutoWidth="True" DisplayFormat.DecimalSeparator="." Font.Charset="1" Font.Color="-2147483640" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="AAA [qyM."Ship_mrk"]"/>
    </TfrxGroupFooter>

    if Memo33 have chinese word well occur exception EIntOverflow Integer overflow message

    and print report, some band is wrong position
  • edited 6:37PM
    In Delphi 7 also have same problem

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.