Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.0
  HXTT Cobol v4.0
  HXTT DBF v7.0
  HXTT Excel v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Paradox v7.0
  HXTT PDF v1.1
  HXTT Text(CSV) v7.0
  HXTT Word v1.0
  HXTT XML v3.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Excel
Percentage format invisible
Jim Hobday
2011-08-16 01:37:55.0
Dear HXTT,

I've been doing some testing for our code using the Excel Driver and I have another 2 possible bugs. I'll send them separately.

I formatted some decimal numbers as Percentage (2dp) and a select cannot see them - they appear to be NULL.

If I edit the spreadsheet and change the format back to Number then they are read in correctly again.

This is on the Workbook LazyTest2.xls which I shall email to you.

The Percentage column is on the "Formatting" Sheet.

Cheers
Jim


Re:Percentage format invisible
HXTT Support
2011-08-16 02:40:16.0
Checked. The latest version will show
SELECT Percentage from "LazyTest2.xls"."Formatting";
Percentage JAVA_OBJECT 0 0 0
1.234
0.223
0.012
0.88
1
0.1234
The total row number of resultset: 6

It seems normal.
Re:Re:Percentage format invisible
Jim Hobday
2011-08-16 02:48:31.0
I have the latest version:
Excel JDBC 4.0 Package
Name: com/hxtt/sql/excel/
Implementation-Vendor: Hongxin Technology & Trade Ltd.
Implementation-Title: com.hxtt.sql.excel
Implementation-Version: 4.0.025 on August 15, 2011

can you try
SELECT count(*), count(Percentage), min(Percentage), max(Percentage) from "LazyTest2.xls"."Formatting";

I get resultset.next() returning false.
Re:Re:Re:Percentage format invisible
HXTT Support
2011-08-16 03:12:55.0
Checked. It will return:
6 6 0.012 1.234
The total row number of resultset: 1
Re:Re:Re:Re:Percentage format invisible
Jim Hobday
2011-08-16 06:54:30.0
Thanks - that works perfectly

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap