0

如何访问另一列中的交叉表公式字段?我有两个公式字段的会费和总计报告:

Amount  Dues(Done by a Formula)   Total (Done by a Formula)
------ ------------------------- ---------------------------
 500              20 %                  someAmount

会费公式:

WhileReadingRecords;
       numberVar due:={Command.SomeField)/100;
        due 

总计公式:

WhileReadingRecords;
         numberVar total:= {Command.Amount} - due;
         total

如何访问每行记录的第二个公式中的到期字段?

4

1 回答 1

1
  1. Just use {@FormulaName} (See image below)

  2. Crystal syntax is very simple for simple formulas. For your sample formulas, you don't need to declare variables or use WhileReadingRecords. (Both have their uses, but for your sample formulas, they are unneeded). Again, see the image below for an example.

Sample Image

于 2010-12-21T15:37:21.253 回答