Hallo, I hope someone can halp me with the sum-function. The situation: I have a db with hours and timestamps. Looks like that: hours date xxx xxx 5 12/07/2011 y y 3 10/06/2011 y y 2 07/07/2011 y y ... Now I want to sum in a variable all hours for the month 07/2011 and in another variable all ours for 06/2011 and so on. How can I tell the variable to sum only the hours for THIS ONE month and not for all months? Do I need the option "Print when expression" or can I handle it in another way? Please help! Thanks a lot!