©Mike Moxcey 1999

Loading Date Based on a Flag var

Set a new variable: $cdate
that depends on the $close_flag var
if ($close_flag eq 'Y')
{$cdate='SYSDATE';}
else ### open call, set date to null ###
{$cdate="''";} #pass a null string w/no quotes
(that's a double-quote,single-quote, single-quote,double-quote)


home next