i need a bit of help as i am at a loss at trying to sort out this problem<br>i am using a query to form a report the query asks for the begin, end date and the shift it all works fine but there are too calualted fields in the query "total Prod" and "total Scrap" which are caluated form the "weekly" table but the problem is that the to calculated total are totaling the entire colum instead of the ones i want selected by the date and shift<br>i tried to set the parameter in the criteria but i am not allowed i keep getting an error message