Crystal reports crystal报表公式中的like关键字

Crystal reports crystal报表公式中的like关键字,crystal-reports,Crystal Reports,我试图在crystal report中使用like关键字。 有一个帐号总是以“120”开头,比如120348、1208475等 dcind account bank name amount sale order D 120949 abc 73410 我是这样使用它的: {account_table.custno}='' and {account_table.saleorder}='' and {account_table.dcind} = 'D' and {acc

我试图在crystal report中使用like关键字。 有一个帐号总是以“120”开头,比如120348、1208475等

dcind account bank name amount  sale order
 D     120949   abc      73410 
我是这样使用它的:

{account_table.custno}='' and {account_table.saleorder}='' and {account_table.dcind} = 'D' 
and {account_table.account} like "120*"

我从字段和汇总“总和”中选择金额,并在公式字段中使用。我使用上述公式,在重置时,我设置了帐户号,然后我将此字段拖到报告上,但在某些列中,金额可见,而在某些列中,金额不可见

您在某种情况下使用了这段代码?然后把它拖到报告上?我不明白你想要实现什么?我通过运行total来选择它,然后将它拖到报告上。你把它放在哪里了?你在哪个文件夹中使用了那段代码