如何正确编写水晶报告公式

时间:2013-01-30 10:28:54

标签: crystal-reports report formula

尝试输入公式:

({x_query.Create Date} >= {x_query.Yesterday} and {x_query.Create Time}>={?StartTime})
and
({x_query.Create Date} <= {x_query.Today} and {x_query.Create Time}<={?EndTime})

Crystal报表不断将其更改为

{x_query.Create Date} <= {x_query.Today} and
{x_query.Create Date} >= x_query.Yesterday} and
{x_query.Create Time}<={?EndTime} and
{x_query.Create Time}>={?StartTime}

括号很重要 - 如何输入公式以使其正确?

0 个答案:

没有答案