If it's Location that is in question - determine the variable SMSLocation.
Have you looked at the objects method?
>How this line of vb codes will work in vfp.
>
> If KylixSMS.DeleteSMS(SMSFolders.ListIndex + 1, SMSLocation) < 1 Then
>thanks
Edgar L. Bolton, B.S. B.B.A.