尝试输入公式:
({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}
括号很重要 - 如何输入公式以使其正确?