开发者

Crystal reports formula

if{((tonumber({BudgetTemplateField.Expr1})- tonumber({BudgetTemplateField.Expr3})) > tonumber({BudgetTemplateField.Expr1}))}
then 
{
    ((tonumber({BudgetTemplateField.Expr1}) - tonumber({BudgetTemplateField.Expr3})/tonumber({BudgetTemplateField.Expr1}))*100)    
} 
else  
{
    开发者_运维知识库@add
}

//please provide solution for this error


I think the code should be like this:

if((tonumber({BudgetTemplateField.Expr1})- tonumber({BudgetTemplateField.Expr3})) > tonumber({BudgetTemplateField.Expr1}))
then 
{
    ((tonumber({BudgetTemplateField.Expr1}) - tonumber({BudgetTemplateField.Expr3})/tonumber({BudgetTemplateField.Expr1}))*100)    
} 
else  
{
    @add
}

i think it will work.reply.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜