database - ODBC connection in VBA on a mac (excel 2011) to a postgresql db -


i have vba script in excel on windows box connects using ado postgresql db. have same on mac. reading posts on so, i've: - downloaded odbc driver (openlink) on mac - set dsn , connected db

now vba change. i've searched on so, postgresql.org site, openlinks , other places clear example, haven't found yet. here relevant vba code on windows:

dim cnn new adodb.connection dim rst new adodb.recordset dim strsomevalue string  cnn.open "driver={postgresql ansi};database=<db>;server=<target>;port=<port>;uid=<myusername>;pwd=<mypwd>" 


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -