Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting up Postgre ODBC?
Message
 
 
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:
00967358
Vues:
10
>>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.
You can also use ODBC Manager to create a file DSN and than open it in any text editor and copy connection string out.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform