简体   繁体   中英

“A statement is expected here” error ocured in Crystal Report 2008 in formula workshop

I wrote a formula in the Crystal Reports 2008 Formula Workshop.

I have tried many combination but still facing error

A statement is expected here

My code is below :

If not isnull({Auditproduct.newParam6_Low1}) then
If {Auditproduct.oldParam6_Low1}<>{Auditproduct.newParam6_Low1} then
"-T1: " + totext({Auditproduct.newParam6_Low1}) + " "  & 
//facing formula near"-T1: "ON ABOVE LINE.
If not isnull({Auditproduct.newParam6_Upp1}) then
If {Auditproduct.oldParam6_Upp1}<>{Auditproduct.newParam6_Upp1} then
"-T1 :" + totext({Auditproduct.newParam6_Upp1}) + chr(10) 

Your help is appreciated.

我在工具提示的公式工作室的Crystal Report中找到了解决方案,下拉列表中选择了“基本语法”,因此我将其更改为“水晶语法”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM