[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Performance cost of [if] conditions?
****** message to minivend-users from "Christopher P. Lindsey" <lindsey@mallorn.com> ******
> You have a data problem more than anything. Why are you so caught
> up in the ' ne "" ' thing? Is your image going to equal the string '0' ?
Actually, it has a value of 'NULL', which is being counted as a value.
Or is there a way to tell minivend to treat NULL as 0? So what I'm
really checking is
[if scratch image ne "NULL"]
although I hadn't fully realized it yet when I wrote my message. :)
Unfortunately, I'm working from a database that already existed for
other applications, so I can't go in and change things.
> MV4 has [if-sql-param ...] too (later versions of
> 3 may, but I forget).
Now that is way cool...
Thanks! I feel better about setting the scratch variables now, too.
Chris
-
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