Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.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 DBF
Problem reading DBF File
Martin Ross
2006-03-20 00:00:00
I have a DBF table with 38761 rows.
select count(*) from history returns this number of rows.

select * from history generates an error messsage 'Statement failed'

SELECT top 2696 * FROM history returns the first 2996 rows but
SELECT top 2697 * FROM history generates the 'Statement failed' error message


The schema for the table (according to Aqua)
DATE DATE(8)
TYPE VARCHAR(1)
FILE_NAME VARCHAR(12)
PROV_GROUP VARCHAR(4)
PROV_NUM VARCHAR(6)
SUBMISSION NUMERIC(9)
ADJUSTMENT NUMERIC(9)
REMITTANCE NUMERIC(9)
C_FLAG VARCHAR(1)


Please let me know....

Thanks,

Martin
Re:Problem reading DBF File
HXTT Support
2006-03-20 00:00:00
You can try:
catch (SQLException sqle) {
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" + sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
}
while ( (sqle = sqle.getNextException()) != null);
}

to see the detailed exception message.

I tested those sqls with 131072 rows with the same table structure, but failed to recur your issue. It seems that HXTT DBF failed to read the row of 2697 for unknown reason.


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 | Refund | Sitemap