>Are you trying to use VFP variable as parameter for SQLEXEC?
>Then correct syntax is:
>
>
>lnResult=SQLExec(lnHandle,'SELECT * FROM MyTable WHERE CustomerID = ?lcCustomerID')
>
>
>Just add question mark before variable name.
As already answered, yes, this is exactly what I was looking for.