I think I have put my problem wrongly. let me give you some more details. I have a query based on two tables joined by 'Staff No'. The fileds in my query are 'Discipline', 'Category', 'Week No', Hour',Rate'. I have used the group by option. I have created a form for this query and in the form I have an unbound combo box with row source as 'select distinct....' and the after update as 'me.requery'. Now in the query for the week no I have placed the criteria as [forms]![formname]![comboboxname]. What should I choose in the total column(since I am using the groupby option)? Right now I have used the 'where' option and hence had to uncheck the show box and had to create another column for week no with group by option and show box checked.