0
Retrieving data from a remote DB using ODBC ?
New Here
,
/t5/indesign-discussions/retrieving-data-from-a-remote-db-using-odbc/td-p/1366846
Apr 23, 2008
Apr 23, 2008
Copy link to clipboard
Copied
Hi,
Has anybody tried to collect some data from a remote DB in InDesign plugin by using ODBC ? I want to know the basic steps including what I have to add in the Xcode project, how to connect to remote DB, and how to retrieve data in plugin by sql query ?
TIA,
Nima
Has anybody tried to collect some data from a remote DB in InDesign plugin by using ODBC ? I want to know the basic steps including what I have to add in the Xcode project, how to connect to remote DB, and how to retrieve data in plugin by sql query ?
TIA,
Nima
TOPICS
SDK
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
/t5/indesign-discussions/retrieving-data-from-a-remote-db-using-odbc/m-p/1366847#M277879
Apr 23, 2008
Apr 23, 2008
Copy link to clipboard
Copied
I think you need to add /usr/lib/libiodbc.a to your Xcode project. also you will want to look into sql.h and sqlext.h assuming you're connecting to database such as MySQL to see what's the API you will use to communicate thru ODBC. But the code should be purely C++, nothing InDesign specific, you can write it as a separate library or an InDesign Boss object.
You will also need to install ODBC driver that's probably would be supplied by your database vendor. So for MySQL, there is a driver you need to download from MySQL site and install, and configure thru OSX's ODBC Administrator tool.
Thanks!
lee
You will also need to install ODBC driver that's probably would be supplied by your database vendor. So for MySQL, there is a driver you need to download from MySQL site and install, and configure thru OSX's ODBC Administrator tool.
Thanks!
lee
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
_nima_
AUTHOR
New Here
,
LATEST
/t5/indesign-discussions/retrieving-data-from-a-remote-db-using-odbc/m-p/1366848#M277880
Apr 23, 2008
Apr 23, 2008
Copy link to clipboard
Copied
Thank you Lee, that was what I looking for.
Nima
Nima
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

