Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting up Postgre ODBC?
Message
From
06/12/2004 19:01:52
 
 
To
27/03/2003 19:05:31
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00770795
Message ID:
00967355
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform