A report is driven by the alias that is current when report is launched. Do you have a timer or form with grid that could switch work area on you?
>Yes driverpt and if I open the report and print it manually I get the right answer
>
>Thanks Sergey
>
>
>
>>It looks like wrong work area is selected when report is run. Do you have anything in reports DE?
>>
>>>
--sb--