Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

arguments of operator must have same type error

$
0
0

HI Experts,

 

I am Getting Below Error

 

String and int Passed .Arguments of Operator "<" must have same type

 

Below is the Blogs i have searched but no luck

 

http://scn.sap.com/thread/

 

Here is the script i have wriiten in ON STARTUP

 

var a = TEXT_2.getText();

 

 

if (a<100)

{

  PANEL_1.setCSSClass("red");

  }

  else

  {

  PANEL_1.setCSSClass("green");

  }

 

I am capturing measure value  from text box by creating local variable a  and based on condition i am applying CSS CLASS

 

where i am missing ?

 

could any one point me in right direction.

 

Thanks,.

Varun


Viewing all articles
Browse latest Browse all 4216

Trending Articles



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