lnHandle = SQLSTRINGCONNECT("driver={Microsoft Visual Foxpro Driver};server=MyIPAddress;" + ; "uid=;pwd=;SourceType=DBF; Exclusive=No;Collate=Machine;SourceDB=c:\Apps;") ?SQLEXEC(lnHandle,"SELECT * FROM mytable", "mycursor") =SQLDISCONNECT(0)But if I use another web servers IP address, the SQLEXEC() returns -1. But the lnHandle returns a 1.