Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Script logic issue?

$
0
0

Yes, correct!

AND between the same property (like in my code - ID) is treated as OR for "="! For different properties like ID and CATEGORY_TYPE it will work correctly.

 

But there is a workaround:

 

*SELECT(%ISPLAN%,[ID],CATEGORY,[ID]=$TARGET_CATEGORY$ AND [ID]>=PLAN  AND [ID]<=PLAN)

 

Combination of ">=" and "<=" will be equal to "=" but it will work

 

Vadim


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>