If in sybase - infomaker file - I don't have any groups but since I'm using this to build pages in my software I need to be able to sum values. See attached screenshot. . I would like the totals to be unique (or grouped by the id_key value).
The sum functionality has the following abilities. As I found here: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc00045_0250/html/ddref/BFCDFAJD.htm
Sum ( column { FOR range { DISTINCT { expres1 {, expres2 {, ... } } } } } )
The code I have is: sum( adult + senior_student + child + other for page) but what I'd like to do is have it "for id_key" but it doesn't seem to like that