<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We have some applications that we have passing data from an OPC
server to the database.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We leave them running overnight and generally no issues.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Occasionally there is a loss of connection to the database
resulting in the applications going into io error.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We are using Delphi 2005, and BDE connections to &nbsp;Interbase
7.5.1 via the network.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>OPC doesn&#8217;t present us with a problem as the OPC
server resides on the same machine.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We wish to revamp these applications so that in the event of
a temporary loss of connection to the database it will catch this and recover
rather than getting an IO issue.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Any thoughts as to where we might start in order to make the
process more robust?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>Regards</span></font><font color=blue><span style='color:blue'> <br>
</span></font><font size=2 color=navy><span style='font-size:10.0pt;color:navy'>Phil
Hayward<o:p></o:p></span></font></p>

<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>System Analyst</span></font><font color=blue><span
style='color:blue'> <br>
</span></font><font size=2 color=navy><span style='font-size:10.0pt;color:navy'>Pinepanels
Rangiora<br>
ph&nbsp; (64) 3 313-2764<br>
fax (64) 3 313-2739<br>
Ext&nbsp;38824<br>
<a href="mailto:Phillip.Hayward@chh.co.nz">Phillip.Hayward@chh.co.nz</a></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>


<DIV><FONT face=Arial color=#ff0000 size=1><EM>DISCLAIMER:&nbsp; This electronic 
message together with any attachments is confidential.&nbsp; If you are not the 
intended recipient, do not copy, disclose or use the contents in any way.&nbsp; 
Please also advise us by return e-mail that you have received the message and 
then please destroy.&nbsp; Carter Holt Harvey is not responsible for any changes 
made to this message and / or any attachments after sending by Carter Holt 
Harvey.&nbsp; We use virus scanning software but exclude all liability for 
viruses or anything similar in this email or any attachment.</EM></FONT> 
</DIV>
</body>

</html>