>Sure Steven should use parameters.
>BTW isn't Steven use .NET?
>Why the question is in VFP forum? :-)
>I assume this just because of this: arg1.trim().toUpperCase() :-)
>If it was UPPER(ALLTRIM(arg1)) :-) ...
It did look like a mix of .NET and VFP code.
I would just do this in SP instead.
If it's not broken, fix it until it is.
My Blog