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

Maximum formula

$
0
0

Hi all,

 

Recently i cam across this formula.

 

if Maximum({@color},{NAIOT_MATERIALS.MATERIAL_NAME}) = 1 then x=1 else x=2.

 

Where @color is defined

 

 

my question is how are you comparing(maximum) a string with an a integer because function returns a 1 or 0 and database field returns a string how is it comparing the maximum.

 

And this is working

..

Please explain


Viewing all articles
Browse latest Browse all 8533

Trending Articles



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