::If the user enters a valid employee code, the next field (which is the name) has to be filled with the corresponding name what matches with the code. Then the user saves the new registry with all that info
Im using a datawindow freeform to do that. My question is that I don't know how to get the value of the name field and change it.
I was thinking that I can probably do it the same way that I get the code that the user enters, which is in this way:
if getcolumnname()="codigo_emp" then
ls_codigo=integer(data)
I tried with his:
if getcolumnname()="nombre_emp" then
data=ls_nombre
but I doesn't works.
Help please
Im using a datawindow freeform to do that. My question is that I don't know how to get the value of the name field and change it.
I was thinking that I can probably do it the same way that I get the code that the user enters, which is in this way:
if getcolumnname()="codigo_emp" then
ls_codigo=integer(data)
I tried with his:
if getcolumnname()="nombre_emp" then
data=ls_nombre
but I doesn't works.
Help please