🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.windows
Article #8

Re: Database acces (ODBC) from an InDesign Plugin

#8
From: Waldo
Date: Thu, 09 Dec 2004 13:40
30 lines
2437 bytes
Ernest wrote:
> Hi,
> 
> I'm working on a university project, where I have to link an existing
> Postgresql database into InDesign. We're using a Plugin with ODBC
> functions to access the DB.
> 
> The problem right now is, that there seems to be a conflict between
> the project includes/libraries and the ODBC functions. The same code
> for DB-access that works properly in a single project does not compile
> in the Plugin project. The Compiler complains about a type mismatch in
> 3 ODBC functions that did not make trouble before (in the single
> project).
> 
> Does anyone have experience in connecting to a database from an
> Indesign Plugin (not necessarily using ODBC)?
> 
> I'm grateful for hints and help,
> 
> Ernest

I don't have experience with such kind of plugins, but I have some easy 
Visual BASIC example code of controlling InDesign from, for example, M$ 
Access and creating a new file according to the database.

I found the original link:

http://www.siliconpublishing.com/indesign/CatalogExample.htm

Waldo
Technical Details
Message-ID: <1102599447.238722@news-ext.oce.nl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!oce.news.eu.uu.net!not-for-mail
References: <dcb09161.0412070742.a845b0a@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f51c6,244c669239cbafab
X-Google-Thread: f63e9,244c669239cbafab
X-Google-Attributes: gidf51c6,gidf63e9,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!oce.news.eu.uu.net!not-for-mail
Date: Thu, 09 Dec 2004 14:40:33 +0100
From: Waldo <graaf@vno-ncw.nl>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: adobe.indesign.windows,adobe.indesign.sdk
Subject: Re: Database acces (ODBC) from an InDesign Plugin
References: <dcb09161.0412070742.a845b0a@posting.google.com>
In-Reply-To: <dcb09161.0412070742.a845b0a@posting.google.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Organization: Oce Technologies B.V.
Message-ID: <1102599447.238722@news-ext.oce.nl>
Cache-Post-Path: news-ext.oce.nl!unknown@pc1-wru.oce.nl
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Lines: 30
NNTP-Posting-Host: 134.188.145.119
X-Trace: 1102599447 oce.news.eu.uu.net 6372 134.188.145.119:34706
X-Complaints-To: abuse@oce.nl