just had a thought.. if quantity or stock is on another form u need to specify the form name instead of me

form_frmName.stock