Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.277
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol 5.0.275
  HXTT DBF 7.1.277
  HXTT Excel 6.1.279
  HXTT Json 1.0.247
  HXTT Paradox 7.1.275
  HXTT PDF 2.0.275
  HXTT Text(CSV) 7.1.275
  HXTT Word 1.1.275
  HXTT XML 4.0.276
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 ACCESS
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:

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

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap