I have encountered similar problem. It works well within the designer but not with printool or customer report menu.
I replaced an argument in this instance,the maximum and minimun function and it works both ways. Perhaps member 1116 should email the file as advised