<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Within the dtml-in statement, I use serial_number to find the record in
the db. I checking for a valid serial number but what is return from
the dtml-in statement if the serial number lookup is not found.<br>
<br>
Larry<br>
<br>
Small Business Services wrote:<br>
<blockquote type="cite"
 cite="mid007501c4470e$4b414720$647ba8c0@jhdesktop">
  <pre wrap="">From: "Larry McDonnell" <a class="moz-txt-link-rfc2396E" href="mailto:larry@technologyinedu.com">&lt;larry@technologyinedu.com&gt;</a>
  </pre>
  <blockquote type="cite">
    <pre wrap="">I use the serial_number variable to look up the record. Does the
dtml-call return a status back if the record is not found?

    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">&lt;dtml-call "REQUEST.set('serial_number', serial_number)"&gt;

&lt;dtml-in lookup_header_record&gt;
  &lt;dtml-call "REQUEST.set('equip_type', equip_type)"&gt;
  &lt;dtml-call "REQUEST.set('pr', pr)"&gt;
&lt;/dtml-in&gt;

        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
By 'record' do you mean the variable 'serial_number' in the above
REQUEST.set statement?

dtml-call won't 'return' anything.  If, in your REQUEST.set('label',
variable) statement 'variable' is not defined you will get an error.


Jonathan



  </pre>
</blockquote>
</body>
</html>