<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>In a perfect world, I agree.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>If the divisor is “0” then don’t do the division in the first place.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>But in spite of my best efforts over the years, my customers still occasionally get a “\d0” error, normally when running a report, and I have to track it down. Not a filePro error, but rather a programming oversite on my part.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>If I knew then (over 30 years ago, when I originally wrote many of my processing tables), what I know now (now), things would be A LOT cleaner.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Scott<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Scott Walker<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="mailto:scottwalker1956@gmail.com">scottwalker1956@gmail.com</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> fpgroups . [mailto:fpgroups@gmail.com] <br><b>Sent:</b> Wednesday, January 11, 2017 10:06 AM<br><b>To:</b> Scott Walker <scottwalker1956@gmail.com><br><b>Cc:</b> filePro Mailing List <filepro-list@lists.celestial.com><br><b>Subject:</b> RE: Divide Overflow<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Why do this after the facts? Adress it at time the value is set and ensure data integrity<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Jan 11, 2017 9:59 AM, "Scott Walker via Filepro-list" <<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>How about in processing check to see if the field contains "\D0"<br><br>Example:<br><br>If: 7 co "\DO"<br>Then: show"@Record# "<@rn<"has a Divide by zero error in field# 7";show""<br><br><br>That seems to find them on my system.<br><br>Regards,<br>Scott<br><br>Scott Walker<br><a href="mailto:scottwalker1956@ramsystemscorp.com">scottwalker1956@ramsystemscorp.com</a><o:p></o:p></p><div><p class=MsoNormal><br><br><br><br>-----Original Message-----<br>From: Filepro-list<br>[mailto:<a href="mailto:filepro-list-bounces%2Bscottwalker1956">filepro-list-bounces+scottwalker1956</a>=<a href="mailto:gmail.com@lists.celestial.com">gmail.com@lists.celestial.com</a>]<br>On Behalf Of Rami Mantoura via Filepro-list<br>Sent: Wednesday, January 11, 2017 9:53 AM<br>To: FilePro Mailing List <<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>><br>Subject: Divide Overflow<br><br>Is there a way of checking for a divide overflow in processing (/DO)?<br><br>Thanks<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL:<br><<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20170111/caa328f4/attachment.html" target="_blank">http://mailman.celestial.com/pipermail/filepro-list/attachments/20170111/ca<br>a328f4/attachment.html</a>><br>_______________________________________________<br>Filepro-list mailing list<br><a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>Subscribe/Unsubscribe/Subscription Changes<br><a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br><br>_______________________________________________<br>Filepro-list mailing list<br><a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>Subscribe/Unsubscribe/Subscription Changes<br><a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>