Neil,
You should continue discussions in the other thread you started rather than starting a whole new thread on the same subject.
Why are you wanting to use memvars for your controls instead of using the table columns?
>I have a little problem understanding procedures and functions. I have a procedure called basedarti stored in a Program named findart. In my procedure I have 5 memory variables where I store information into them. Here is my code:
>
>
>PROCEDURE basearti()
> STORE "F*0001" TO cArtikey
> STORE "ZOOM" TO cSupplier
> STORE "YES" TO cNewsupplier
>ENDPROC
>
>
>What I would like to do is when my form is initialised I would like to show the value of cArtikey in text1 field.........cSupplier in text2 field etc.
>
>
>Therefore in my main.prg I do set procedure to findart. How do I call the procedure and subsequently pipe the information from the variable to the fields on my form. I need to re-use this syntax thats why I created a procedure.
>
>Do I have to Do basearti with findart etc in my text control? Im at a little bit of a loss at the moment as I am trying to learn procedures, functions etc......