Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  Buy Now
  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
Heng Xin Tian Tai Ltd. of Beijing City (abbr, HXTT)

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:

Connection c = DriverManager.getConnection("jdbc:access:/c:/memotest97.mdb");

StringBuffer sb = new StringBuffer();
for (int x = 0 ; x < 3000 ; x++)

Statement stmt = c.createStatement();
stmt.executeUpdate("insert into table1 values(99999,'" + sb + "')");
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


Copyright © 1999-2017 Heng Xin Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap