My suggestion was the whole point, avoid public variables at all cost, as it is bad programming practice.
>Hi, Mike,
>
>I think you looked at this wrong. They are not returning any value. They are just setting two variables in the procedure (from the looks of it, pubic variables).
>
>>Although you can return two values for the function, in this case it would be advisable to use a separate function for the text2 value, similar to the first one.
>>
>>
>>>Thankyou Mike,
>>>
>>>Just out of interest mike what if I had another variable that I wanted to store to a text2 field.
>>>
>>>
>>>PROCEDURE basearti()
>>> STORE "F*0001" TO cArtikey
>>> STORE "ZOOM" to cSupplier
>>>ENDPROC
>>>
>>>
>>>Therefore I wanted cArtikey in Text1 field and cSupplier in Text2 field.
>>>
>>>Many Thanks for your help