RE: [Zope] How to use the total-nnn to compare to another total
Hi Dieter, Thanks once again for showing me the way. Sometimes you get focus on one way can can't see the an easier way. -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Friday, January 03, 2003 2:31 PM To: McDonnell, Larry Cc: 'Zope@Zope. Org' (E-mail) Subject: Re: [Zope] How to use the total-nnn to compare to another total 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
participants (1)
-
McDonnell, Larry