Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting up Postgre ODBC?
Message
 
 
À
06/12/2004 19:01:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00770795
Message ID:
00967357
Vues:
9
>I am running Postgres on Redhat Linux 9. I am on a Windows2000 server and can run PGADMINIII without problems however I cannot get a connect string to work from inside VFP7. I modifed the example that Leland gave earlier in this thread and it doesn't work. I pinged the server and it responds fine. Any ideas?
>
>mystring="DATABASE=OWL;SERVER=192.168.100.17; port=5432;UID=margaretgi;pwd=mypass;provider=MSDASQLR;DRIVER=postgreSQL;"
>
>oConnection=SQLSTRINGCONNECT(mystring)
>
>results are -1

You can use AERROR() functiom to get ODBC error info which could help in troubleshhoting.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform