So when the form shows you want the text box to disply the value of the variable?
You could put it in the INIT of the form.
thisform.text1.value = cArtiKey
cArtikey needs to be available at the time.
>I have a procedure named basearti in a program called findart. Here is my program:
>
>
>PROCEDURE basearti()
> STORE "F*0001" TO cArtikey
>ENDPROC
>
>
>When my form is shown in the text1 field I want to display the contents of the variable cArtikey.
>
>Can anybody help me in where I would put my code on the form or text1 control so that it shows the value of the variable cArtikey? Many Thanks