3 Jan
2003
3 Jan
'03
7:31 p.m.
McDonnell, Larry wrote at 2003-1-3 11:13 -0500:
Happy New Year everyone! I know what is listed below does not work. I am trying to compare the individual quantities to make sure it does not exceed the total quantity. The total-nnn get me my sub-total but I can not figure out a way to save the value for comparsion. Any pointer/examples would be great, Thanks.
<dtml-call "REQUEST.set('nc_report_no', '1014')"> <dtml-call "REQUEST.set('quantity', '10')">
<dtml-in nonc_disposition_search> <dtml-set check_it=<dtml-var total-disp_qty>> <dtml-if expr="quantity>check_it"> Try:
<dtml-in ...> <dtml-let check_it=total-disp_qty> <dtml-if expr="quantity>check_it"> ... </dtml-if> </dtml-let> .... Dieter