Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YcVuO-00016L-36 for pgsql-general@arkaria.postgresql.org; Mon, 30 Mar 2015 09:23:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YcVuN-0001Ux-I5 for pgsql-general@arkaria.postgresql.org; Mon, 30 Mar 2015 09:22:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YcVuM-0001Uq-6c for pgsql-general@postgresql.org; Mon, 30 Mar 2015 09:22:58 +0000 Received: from [77.44.84.211] (helo=man7.m1.manifest.co.uk) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YcVuI-00005h-W8 for pgsql-general@postgresql.org; Mon, 30 Mar 2015 09:22:56 +0000 Received: from [200.200.200.20] ([200.200.200.20]) by man7.m1.manifest.co.uk with Microsoft SMTPSVC(6.0.3790.4675); Mon, 30 Mar 2015 10:23:08 +0100 Message-ID: <551915ED.2040009@manifest.co.uk> Date: Mon, 30 Mar 2015 10:22:53 +0100 From: Tim Clarke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: PostgreSQL General List Subject: Re: Link Office Word form document with data from PostgreSQL References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 30 Mar 2015 09:23:08.0231 (UTC) FILETIME=[226E6570:01D06ACB] X-Host-Lookup-Failed: Reverse DNS lookup failed for 77.44.84.211 (failed) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Two options that I know of: 1) Use Java and the Apache POI project 2) Write a file containing the data in some other format like HTML then open that with Word. Tim Clarke On 30/03/15 09:20, avpro avpro wrote: > > Hi all, > > Have you ever experienced how to populate fields from a MS Office Word > document with a PostgreSQL data available either in a table or view? > > I haven’t seen anything on the web; only possible with MS products, VS > or Access. > > Thank you for your input > -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general