Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Need some help doing an if compare on price



******    message to minivend-users from Ed LaFrance <edlafrance@printexusa.com>     ******

At 09:00 AM 5/22/00 -0700, you wrote:
>******    message to minivend-users from Ed LaFrance 
><edlafrance@printexusa.com>     ******
>
>At 11:09 PM 5/21/00 -0700, you wrote:
>>******    message to minivend-users from "Heinz Wittenbecher" 
>><heinz@bytedesigns.com>     ******
>>
>>I'm up agains a brickwall on this one. The if /then is self-explanitory as
>>to what I'm trying to achieve, which is basically not wanting to print 0.00
>>as price when no price is available.
>>
>>[if value item-price > 0 ]
>>[item-price]
>>[else]
>>PLEASE CALL
>>[/else]
>>[/if]
>
>Heinz -
>
>I think it is a matter of using the right [if]; unfortunately there are 
>many of them (some might say too many). According to my reading of the 
>docs, this should do what you want:
>
>[if-item-field price]
>         [item-price]
>[else]
>         PLEASE CALL
>[/else]
>[/if-item-field]
>

... and I neglected to mention, this is the MV4 tag, if you are using MV 
3.1x then substitute [if-field] for [if-item-field].

- Ed L.


>Note that this tag does not self-nest, so do not place it within another 
>[if-item-field] block.
>
>- Ed LaFrance
>Printex Marking Technologies
>12113 Kirkham Rd.
>Poway, CA  92064  U.S.A.
>858-513-2418
>800-982-1928
>858-513-2419 FAX
>http://www.printexusa.com
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list

Printex Marking Technologies
12113 Kirkham Rd.
Poway, CA  92064  U.S.A.
858-513-2418
800-982-1928
858-513-2419 FAX
http://www.printexusa.com

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: