Sum a Column?

Hello. I have a view which contains a column with numerical values. Is there a way to sum column within a view using the @dbcolumn function?

Subject: Sum a Column?

Are you asking for a way to get the total of the column somewhere other than in the view - in a form, for example? Not by using @DBColumn, unless you stick the result in a multivalue field and then write some code elsewhere to get the total of that.

If you’re looking to have a visible total in the view, though, why not just set the column to be a Totals column?

Subject: Sum a Column?

If you want the total to appear in the view, then look at the “Totals” option on the second tab of the column properties. If the sum is to appear elsewhere (on a form or page, for example) then @Sum(@DbColumn()) will work.