Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  Buy Now
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.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 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 Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap