<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE>@font-face {
        font-family: SimSun;
}
@font-face {
        font-family: @SimSun;
}
@page Section1 {size: 21.0cm 842.0pt; margin: 72.0pt 89.85pt 72.0pt 89.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV><SPAN class=579260720-08022005><FONT face=Arial color=#0000ff size=2>I do
it using a lot of find and replaces of flag fields in the template.
</FONT></SPAN></DIV>
<DIV><SPAN class=579260720-08022005><FONT face=Arial color=#0000ff size=2>Where
I have a repeating block. I keep reinserting the flag with each block.
</FONT></SPAN></DIV>
<DIV><SPAN class=579260720-08022005><FONT face=Arial color=#0000ff size=2>Then
after the repeats are finished remove the extra flag.</FONT></SPAN></DIV>
<DIV><SPAN class=579260720-08022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=579260720-08022005><FONT face=Arial color=#0000ff
size=2>Steven</FONT></SPAN></DIV>
<DIV><SPAN class=579260720-08022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> David O'Brien
[mailto:dave@iccs.co.nz]<BR><B>Sent:</B> 09 February 2005 09:04<BR><B>To:</B>
'NZ Borland Developers Group - Delphi List'<BR><B>Subject:</B> [DUG] User
definable report.<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">What is the best method
of providing an easy to use, user definable report.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I need to produce an A5
booklet (A4 folded) where the user has complete control of Font, Style, and
Layout etc... I thought a Word template would be the answer, but I am having
trouble working out how to set it up. A Word template would be good, but how do
I fill in the document with multiple records of
data?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I can easily fill in a
fixed report from a template; it's just a variable number of records I can't get
my head around...<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Is there a better
way?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I'm using D2005
pro.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Ta,<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">David
O'Brien</SPAN></FONT><FONT color=navy><SPAN lang=EN-NZ
style="COLOR: navy"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN lang=EN-NZ
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">(</SPAN></FONT><FONT
color=navy><SPAN lang=EN-NZ style="COLOR: navy"><A
href="mailto:dave@iccs.co.nz"><FONT face=Arial size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Arial">dave@iccs.co.nz</SPAN></FONT></A></SPAN></FONT><FONT
face=Arial color=navy size=1><SPAN lang=EN-NZ
style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">)</SPAN></FONT><FONT
color=navy><SPAN lang=EN-NZ
style="COLOR: navy"><o:p></o:p></SPAN></FONT></P></DIV></DIV>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">********************************************************************** </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">This email and any files transmitted with it are confidential and </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">intended solely for the use of the individual or entity to whom they </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">are addressed. If you have received this email in error please notify </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">the system manager. </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;"> </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">This footnote also confirms that this email message has been swept by </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">MIMEsweeper for the presence of computer viruses. </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;"> </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">www.ecan.govt.nz </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">********************************************************************** </SPAN></P>
<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;"> </SPAN></P>
</BODY></HTML>