>When I do this command:
>
>
>lnHandle=SQLStringConnect("Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=d:\data;Exclusive=No;NULL=NO;
> Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO")
>
>
>lnHandle contains a valid ID. If I do the command again, lnHandle increments by one. So, this shows that the connection is valid.
>
>Now, when I try to do this:
>
>
>? SQLEXEC(lnHandle,"SELECT * FROM Customer")
>
>
>It always return -1. What am I missing?
What does a call to AERROR() return?