In sfrmSaleLines, next to the label "Cost:" this Text box houses the field "linecost", but the text box control is called SaleCost. Same with "lineqty" - click on it and you'll see it is called something else.
Although the other, working form, field and text box control have the same name...