>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.
You can refer to it directly by using THISFORM.txtqty1
to get its value use THISFORM.txtqty1.Value
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement