>I forget, how do you pass a parameter by value or reference. I thought by maybe adding the @ sign.
>
>
>Thanks ahead of time!!!
By default VFP passes parameters by value in call to the functions and by reference to the procedures ( DO ...). SET UDFPARMS Command can change how parameters are passed to a user-defined function (UDF). However it's not recomended to use it. You can pass parameter by reference to the function by preciding it with @ character. You can pass parameter by value into procedure call by encloising it in parenthesis.
--sb--