Hi,

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.

Larry

Small Business Services wrote:
From: "Larry McDonnell" <larry@technologyinedu.com>
  
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?

    
<dtml-call "REQUEST.set('serial_number', serial_number)">

<dtml-in lookup_header_record>
  <dtml-call "REQUEST.set('equip_type', equip_type)">
  <dtml-call "REQUEST.set('pr', pr)">
</dtml-in>

        

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