My Code now.
On Main Form - =[qryTX4740 subform].[Form]![Dsum]
On Subform - =DSum("TX4740Qty","qryTX4740","[TX4740Description]<>'Basic'")
Basically the code partly works it removes Basic out of the quantity total which is what i want but when i enter the data further down it adds that up and i dont want that to happen.
Thanks