Excell Exporter Enhancement

From: David Horwitz <Dhorwitz(at)ched(dot)uct(dot)ac(dot)za>
To: pgadmin-hackers(at)postgresql(dot)org, Andrew Deacon <adeacon(at)ched(dot)uct(dot)ac(dot)za>
Subject: Excell Exporter Enhancement
Date: 2002-03-04 12:18:32
Message-ID: 3C836617.B783EEF@ched.uct.ac.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello All,

Apologies if this has been discussed on the list before, but I am a
newcomer to this list and could find nothing like this in the list
archive.

Essentially I would like to submit an enhancement to the Excel exporter.
At the moment the values exported are interpreted (by Excel 2000 at
least) as text values. This makes using Excel to analyse that data
difficult. If the 'if then' statement is replaced by a select case
statement that:

a) formats the cell for the data type
b) inserts the data using the cells 'FormulaR1C1' property, which seems
to lead to more reliable reading of the format by Excel.

Attached is a version of Exporter module with just such a structure for
handling some of the more common data types

Regards

David Horwitz

--
****************************************************
David Horwitz University of Cape Town
IT Officer Private Bag
Multimedia Education Group Rondebosch
7701
dhorwitz(at)ched(dot)uct(dot)ac(dot)za SOUTH AFRICA
Tel:+27 21 650 3841 Fax:+27 21 650 5045
http://www.meg.uct.ac.za
PGP key: http://www.meg.uct.ac.za/dhorwitz/david_horwitz.acs
*************************************************

Attachment Content-Type Size
pgAdmin2_Exporter.cls application/x-unknown-content-type-visualbasic.classmodule 2.9 KB

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2002-03-04 13:15:59 Re: Excell Exporter Enhancement
Previous Message Hiroshi Inoue 2002-03-04 09:45:38 Re: [ODBC] Multibyte ODBC