Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
Error inserting into memo fields on Access 97 files
Philip Casciola
2006-09-18 14:43:13.0
I am having a problem inserting large (>2K) strings into an Access 97 db with memo fields, using Access_JDBC30.jar.

Any string over 2048 characters inserted results in #Error in the memo field. Anything under that size works ok, and it works with the JDBC-ODBC bridge but not with HXTT 3.0.

Here are the smallest steps to reproduce:

Create an MDB with table1 and the following fields:
field1 - Number (Long Integer)
field2 - Memo

Convert to Access97

The following code reproduces the error in the mdb:

Class.forName("com.hxtt.sql.access.AccessDriver");
Connection c = DriverManager.getConnection("jdbc:access:/c:/memotest97.mdb");

StringBuffer sb = new StringBuffer();
for (int x = 0 ; x < 3000 ; x++)
sb.append("X");

Statement stmt = c.createStatement();
stmt.executeUpdate("insert into table1 values(99999,'" + sb + "')");
stmt.close();
c.close();
Re:Error inserting into memo fields on Access 97 files
HXTT Support
2006-09-18 21:18:40.0
Thanks. v2.0.018 fixed an incompatible issue for MS Access 97's CLOB value with more than 2048 length. HXTT Access can read those older inserted CLOB values, but MS Access will show an error data prompt, then can show correctly those "error" CLOB data. Please download:)

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap