Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  Buy Now
  HXTT Cobol v5.0
  HXTT DBF v7.1
  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)

Error inserting into memo fields on Access 97 files
Philip Casciola
2006-09-18 14:43:13
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
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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap