Put this code in the form Init event:
THISFORM.Text1.Value = cArtikey
HTH
>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