企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 970|回复: 2

Issue with CELLGETN returning numeric values

[复制链接]

76

主题

403

帖子

586

积分

高级会员

Rank: 4

积分
586
QQ
发表于 2014-6-20 02:53:09 | 显示全部楼层 |阅读模式
Hi Friends,

I am facing an issue. I am retrieving a value using CELLGETN function and assigning it to a variable as shown below.

nRevAdjPctVal = CellgetN (sCube, V10, V1, 'REV ADJ PCT', 'LoadStat-All', 'BP-All', 'BOXMES-All', 'FOP-All', 'Sector-All', 'AP-All', V8, 'data');

Now when I am comparing the value for nRevAdjPctVal in the If statement,

If ( nRevAdjPctVal <>= 0 );

I am getting an error that says, "Incorrect Logical Comparison".

Can Anybody help me as to why it is happening?

Thanks in advance
回复

使用道具 举报

85

主题

433

帖子

616

积分

高级会员

Rank: 4

积分
616
QQ
发表于 2014-6-20 04:33:30 | 显示全部楼层
Suharsh wrote:Hi Friends,

I am facing an issue. I am retrieving a value using CELLGETN function and assigning it to a variable as shown below.

nRevAdjPctVal = CellgetN (sCube, V10, V1, 'REV ADJ PCT', 'LoadStat-All', 'BP-All', 'BOXMES-All', 'FOP-All', 'Sector-All', 'AP-All', V8, 'data');

Now when I am comparing the value for nRevAdjPctVal in the If statement,  

If ( nRevAdjPctVal <>= 0 );

I am getting an error that says, "Incorrect Logical Comparison".

Can Anybody help me as to why it is happening?

Thanks in advance

What do you mean by "<>="? If you want not equal to, use "<>".
回复 支持 反对

使用道具 举报

70

主题

437

帖子

587

积分

高级会员

Rank: 4

积分
587
QQ
发表于 2014-6-20 04:53:38 | 显示全部楼层
Hi asutcliffe,

Thanks for the suggestion. It was a small error which got rectified. Actually I was going through one of the other reputed TM1 forum and someone there suggested to use ~ and <>= operators.

Thanks for the help anyways.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|企业绩效管理网 ( 京ICP备14007298号   

GMT+8, 2023-5-31 04:57 , Processed in 0.067866 second(s), 37 queries .

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表