Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SqlStringConnect()
Message
De
13/11/2002 15:51:59
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
SqlStringConnect()
Divers
Thread ID:
00722358
Message ID:
00722358
Vues:
62
Using VFP7.

The following works if I use my IP address in the server parameter.
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.

Should I be able to query a table on another web server's drive with the above code if I got a valid handle.

Thanks,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform