THISFORM.txtQty1.Value should work. Also THIS.Parent.Parent.Parent.Parent.txtQty1.value should work (the four parents are for the column, the grid, the container, and the form).
>I have a grid that is on a container that is on a form, on the form I
>have a txtbox called txtqty1. I am trying to access the value of txtqy1 from the lostfocus event of a textbox on the grid. I have defined a variable as public to get around this, but I still need to
>put a value in txtprice when I multiply the txtqty1*cost.
>My question is how to access txtqty1 from the textbox on the grid.