Hi, I try write a formula that calcs the sum of a column in band 1 and display the result in a row in band 0. Is that possible?
I tried the following with no success:
ultraGridFeature.DisplayLayout.Bands[0].Columns["Cost"].Formula = "sum([//ultraGridFeature/SubFeature/Cost(*)])";
best regards
Clay
Hi Clay,
I think the problem is that you are using the grid namd. This formula needs to be relative to the row, but by specifying the name of the grid, you are losing the row context.
Try this:
ultraGridFeature.DisplayLayout.Bands[0].Columns["Cost"].Formula = "sum([SubFeature/Cost])";