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 Ed LaFrance <newmedia@newmediaems.com>     ******

I have a hack answer: it's been a long time, but I remember a long time ago 
having a hard time using [else] with [if data], especially if the whole 
block was nested in another [if].  Try taking the [else] block out, just to 
see if the basic test works.  Then you could always try:

[if data database::field::[scratch TmpVar]]
...true statement
[/if]
[if !data database::field::[scratch TmpVar]]
...false statement
[/if]

Good luck!

- Ed L.

At 09:09 PM 3/29/00 +0200, you wrote:
>******    message to minivend-users from 
>"=?iso-8859-1?Q?Markus_M=FCller_=28ASS_Software_Odw.=29?=" 
><mueller@ass-software.de>     ******
>
>Here's what I want to do:
>
>[if data database::field::[scratch TmpVar]]
>...
>[else]
>...
>[/else]
>[/if]
>
>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.
>
>
>regards,
>
>Markus
>-
>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

-
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: