我正在尝试从报告中删除由于禁止空字段而创建的空白行。我尝试过多种解决方案,例如
答案 0 :(得分:0)
我们可以做到这一点,但它有点长篇代码:
您需要将逻辑扩展到所有公式,例如:
@Gross Amount
公式将如下:
if NOT(isnull({TableGeneric.IsTaxable})) = 'Gross Amount'
then 'Gross Amount'
else if NOT(isnull({TableGeneric.IsTaxable})) = 'VAT/ST'
then 'VAT/ST'
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Additional VAT/ST'
then 'Additional VAT/ST'
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Total Including VAT/ST'
then 'Total Including VAT/ST'
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Fright Charges'
then 'Fright Charges'
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Discount'
then 'Discount'
//This formula will display the first row name. Here it will check for all the values one by one and displays the value that satisfies the condition
@Gross Amount value
公式将如下:
if NOT(isnull({TableGeneric.IsTaxable})) = 'Gross Amount'
then databasefield.value
else if NOT(isnull({TableGeneric.IsTaxable})) = 'VAT/ST'
then databasefield.value
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Additional VAT/ST'
then databasefield.value
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Total Including VAT/ST'
then databasefield.value
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Fright Charges'
then databasefield.value
else if NOT(isnull({TableGeneric.IsTaxable})) = 'Discount'
then databasefield.value
//This formula will display the value of first row name. Here it will check for all the values one by one and displays the value that satisfies the condition
它应该工作..现在没有工具但应该工作。