Akopia Akopia Services

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

Re: [mv] Can Anyone Get [if] to work in this case?



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

At 02:32 PM 4/20/00 -0600, you wrote:
>******    message to minivend-users from "John C. Beima" 
><jbeima@palb.com>     ******
>
>G'Day Folks,
>
>I need to be able to do some conditional code, based on the content of a field
>in one of my database.
>

[del]


>But the [if data] doesn't seem to work with scratch variables. so if you go:
>
>[if data base="store" field="pg_[scratch page]_hd" key="[scratch outlet]" ==
>1]
>
>or
>
>[if data base="store" field="pg_[scratch page]_hd" key="[scratch outlet]" ==
>1]

John -

Try:

[if type="data" term="store::pg_[scratch page]_hd::[scratch outlet]" 
op="eq" compare="1"]

... and also consider op="=="

- Ed L.
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: