Akopia Akopia Services

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

Re: [mv] [if data ...]



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Markus M|ller (ASS Software Odw.) (mueller@ass-software.de):
> 
> Here's what I want to do:
> 
> [if data database::field::[scratch TmpVar]]
> ...
> [else]
> ...
> [/else]
> [/if]
> 

 http://www.minivend.com/minivend/faq/06.07.How_can_I_tell_when_I_need_to_qu.html

> The if statement does always returns false even if it should
> return true. The scratch var does contain the right data.
> 
> Did anyone have the same problem? How did you solve it? I tried
> using [if explicit] but this didn't work either.
> 
> 

I have added an example to the docs:

	[if type=data term="database::field::[scratch tmp_var]"]
	Yes.
	[/if]

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

If you like what you're gettin', keep doin' what you're doin'. -- Hector
-
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: