<?xml version="1.0" encoding="UTF-8" ?>
<ActiveReportsLayout 
	GUIDLIB="{A17C4A82-60FE-4620-9EC4-30B1399CB9A8}" GUIDREP="{A7F1A70F-7A09-4CBC-B68D-0BC58604DCB9}" 
	LICENSE="10000000"
	PrintWidth="11000"
	ShowParamUI="0"
	DocumentName="ActiveReports Document"
	ScriptLang="VBScript"
>
<Watermark
		>
</Watermark>
<Script>
<![CDATA[option explicit

private mCounter
private mStdTransactions

Sub OnReportStart
	
dim rst 
dim ContractType

  ' Reset balance
  mcounter = 1
  rpt.Detail.backstyle = 1

  ' Get standard transactions
  set mStdTransactions = Loan.StdTransactions

  ' Hide if nothing to show
  rpt.ReportHeader.visible = (mStdTransactions.count <> 0)
  rpt.Detail.Visible = rpt.ReportHeader.visible
  rpt.ReportFooter.visible = rpt.ReportHeader.visible

End Sub

Sub OnDataInitialize
	
	if rpt.fields.count = 0 then
	      rpt.fields.add "ElementId"
      	rpt.fields.add "ElementDescription"
	      rpt.fields.add "FreqText"
	      rpt.fields.add "DateNext"
	      rpt.fields.add "Reference"
	      rpt.fields.add "Rate"
	      rpt.fields.add "Comment"
	end if

End Sub

Sub OnFetchData(eof)
	
	if mcounter <= mStdTransactions.count then
		eof = false
		
		With mStdTransactions(mCounter)
	      	rpt.fields("ElementId").value = .ElementId
	       	rpt.fields("ElementDescription").value = .ElementDescription
		      rpt.fields("FreqText").value = .FreqDescription
		      rpt.fields("DateNext").value = .dateNext
		      rpt.fields("Reference").value = .Reference
		      rpt.fields("Rate").value = .BasisDescription
		      rpt.fields("Comment").value = .Comment
		End With

		mcounter = mcounter + 1
		
		rpt.data.recordset.movefirst
	else
		eof = true
	end if

End Sub]]></Script>
<PageSettings>
</PageSettings>
<StyleSheet>
	<Style Name="Normal"
	Value="font-family: Arial; font-style: normal; font-variant: inherit; font-weight: normal; font-size: 10pt; font-size-adjust: inherit; font-stretch: inherit; color: rgb(0,0,0); background-color: rgb(255,255,255); background-image: inherit; background-repeat: inherit; background-attachment: inherit; background-x-position: inherit; background-y-position: inherit; opacity: inherit; word-spacing: inherit; letter-spacing: inherit; text-decoration: none; vertical-align: inherit; text-transform: inherit; text-align: inherit; text-indent: inherit; unicode-bidi: inherit; line-height: inherit; white-space: inherit; ddo-can-grow: inherit; ddo-can-shrink: inherit; ddo-char-set: 0; "
	/>
	<Style Name="Heading1"
	Value="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: bold; font-size: 16pt; font-size-adjust: inherit; font-stretch: inherit; "
	/>
	<Style Name="Heading2"
	Value="font-family: Times New Roman; font-style: italic; font-variant: inherit; font-weight: bold; font-size: 14pt; font-size-adjust: inherit; font-stretch: inherit; "
	/>
	<Style Name="Heading3"
	Value="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: bold; font-size: 13pt; font-size-adjust: inherit; font-stretch: inherit; "
	/>
	<Style Name="Heading4"
	/>
</StyleSheet>
<Sections>
	<Section Type="ReportHeader" Name="ReportHeader"
		Height="510"
	>
		<Control 
		Type="AR.Label"
		Name="lblCreated"
		Left="0"
		Top="300"
		Width="11000"
		Height="190"
		BorderBottomStyle="1"
		BorderBottomColor="0"
		ClassName="Normal"
		Style="font-size: 8.5pt; font-weight: bold; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblElement"
		Left="0"
		Top="315"
		Width="950"
		Height="190"
		Caption="Element"
		ClassName="Normal"
		Style="font-size: 8pt; font-weight: bold; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblFrequency"
		Left="3000"
		Top="315"
		Width="2740"
		Height="190"
		Caption="Frequency"
		ClassName="Normal"
		Style="font-size: 8pt; font-weight: bold; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblHeading"
		Left="30"
		Top="15"
		Width="10910"
		Height="235"
		BorderTopStyle="1"
		BorderTopColor="0"
		BorderLeftStyle="1"
		BorderLeftColor="0"
		BorderRightStyle="1"
		BorderRightColor="0"
		BorderBottomStyle="1"
		BorderBottomColor="0"
		BorderShadow="1"
		Caption="Standard Transactions"
		ClassName="Normal"
		Style="font-weight: bold; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblDateNext"
		Left="5740"
		Top="300"
		Width="950"
		Height="190"
		Caption="Next Date"
		ClassName="Normal"
		Style="font-size: 8pt; font-weight: bold; text-align: right; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblReference"
		Left="6690"
		Top="300"
		Width="950"
		Height="190"
		Caption="Reference"
		ClassName="Normal"
		Style="font-size: 8pt; font-weight: bold; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblComment"
		Left="9240"
		Top="300"
		Width="1695"
		Height="195"
		Caption="Comment"
		ClassName="Normal"
		Style="font-size: 8pt; font-weight: bold; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Label"
		Name="lblRate"
		Left="7635"
		Top="300"
		Width="1560"
		Height="190"
		Caption="Rate"
		ClassName="Normal"
		Style="font-size: 8pt; font-weight: bold; text-align: left; "
		>
		</Control>
<Script>
<![CDATA[
Sub OnFormat

End Sub
]]></Script>
	</Section>
	<Section Type="Detail" Name="Detail"
		Height="200"
	>
		<Control 
		Type="AR.DataControl"
		Name="Data"
		Left="-2000"
		Top="-2000"
		Width="1500"
		Height="360"
		Visible="0"
		Tag="C:\Program Files\Intersoft\finPOWER5\SYSTEM.MDW?C:\Program Files\Intersoft\finPOWER5\finDEMO.mdb"
		ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Intersoft\finPOWER5\finDEMO.mdb;User Id=User;Password=user;Jet OLEDB:System database=C:\Program Files\Intersoft\finPOWER5\SYSTEM.MDW"
		RecordSource="SELECT ContractId FROM Contract WHERE ContractId=&apos;&lt;%ContractId%&gt;&apos;"
		LockType="1"
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="txtFrequency"
		DataField="FreqText"
		Left="3000"
		Top="0"
		Width="2740"
		Height="190"
		Text="Frequency"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="txtElementId"
		DataField="ElementId"
		Left="0"
		Top="0"
		Width="800"
		Height="190"
		Text="ElementId"
		OutputFormat="dateLong"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="txtDescription"
		DataField="ElementDescription"
		Left="800"
		Top="0"
		Width="2200"
		Height="190"
		Text="Description"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="txtComment"
		DataField="Comment"
		Left="9240"
		Top="0"
		Width="1695"
		Height="195"
		Text="Comment"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; "
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="dateDateNext"
		DataField="DateNext"
		Left="5740"
		Top="0"
		Width="950"
		Height="190"
		Text="NextDate"
		OutputFormat="d/mm/yyyy"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; text-align: right; "
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="txtReference"
		DataField="Reference"
		Left="6690"
		Top="0"
		Width="950"
		Height="190"
		Text="Reference"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; text-align: left; "
		>
		</Control>
		<Control 
		Type="AR.Field"
		Name="txtRate"
		DataField="Rate"
		Left="7635"
		Top="0"
		Width="1560"
		Height="190"
		Text="Rate"
		OutputFormat="Currency"
		CanShrink="-1"
		ClassName="Normal"
		Style="font-size: 8pt; text-align: left; "
		>
		</Control>
<Script>
<![CDATA[
Sub OnFormat

	' Format oddline feature
	rpt.Sections("Detail").backstyle = 1 - rpt.Sections("Detail").backstyle

End Sub]]></Script>
	</Section>
	<Section Type="ReportFooter" Name="ReportFooter"
		Height="60"
	>
	</Section>
</Sections>
</ActiveReportsLayout>
