Hi Amanda,
You need to Initialize the variable in the Group Header. Create a new formula like:
WhilePrintingRecords;
numbervar qty := 0;
Drop this into the Group Header and you can hide it. This will reset the variable when the group changes.
Thanks,
Brian