Is it possible to programmatically iterate through a table within a formula in crystal reports?
问题 Is it possible to programmatically iterate through a table within a formula in crystal reports? E.G. If I have a master table and a detail table can I iterate through the detail table e.g. ( psuedo code ) local numberVar Total := 0 While not EOF() IF Type = "+" Total = Total + Quantity ELSE IF Type = "-" Total = Total - Quantity ENDIF <Next Record> End While 回答1: It is possible to use loops in a formula field to get the data that you need, but I have only really used them in complex string