Thread: Postgres to MS-Word? (Kind of off topic)
Greetings, Sorry, maybe a little off topic, but seems like an interface issue to me. :) My client has a database of customers. My client also wants to be able to pull up a record on a client and sent a letter to that client. The letter would be canned except for the header and greeting. Does anyone know of a way to get field info into a word.doc file and print it from the same UN*X server running PostgreSQL? Any one ever do something like this? I cannot seem to find a good solution. Thanks, Matthew
Matthew Hagerty wrote: > Greetings, > > Sorry, maybe a little off topic, but seems like an interface issue to me. :) > > My client has a database of customers. My client also wants to be able to > pull up a record on a client and sent a letter to that client. The letter > would be canned except for the header and greeting. Does anyone know of a > way to get field info into a word.doc file and print it from the same UN*X > server running PostgreSQL? Any one ever do something like this? > I think you can put odbc queries into word documents. I'm not sure of the exact details, but it seems like it would work. Byron
On Wed, 3 Mar 1999, Matthew Hagerty wrote: > Sorry, maybe a little off topic, but seems like an interface issue to me. :) > > My client has a database of customers. My client also wants to be able to > pull up a record on a client and sent a letter to that client. The letter > would be canned except for the header and greeting. Does anyone know of a > way to get field info into a word.doc file and print it from the same UN*X > server running PostgreSQL? Any one ever do something like this? > > I cannot seem to find a good solution. Doesn't Word's mail merge tool let you connect to ODBC databases? Brett W. McCoy http://www.lan2wan.com/~bmccoy/ ----------------------------------------------------------------------- The best prophet of the future is the past. -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GAT dpu s:-- a C++++ UL++++$ P+ L+++ E W++ N+ o K- w--- O@ M@ !V PS+++ PE Y+ PGP- t++ 5- X+ R+@ tv b+++ DI+++ D+ G++ e>++ h+(---) r++ y++++ ------END GEEK CODE BLOCK------