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
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

Very strange insert problem with Access 97
Philip Casciola
2006-09-22 20:37:54.0
Hi. We've just encountered a very strange insert issue with Access 97 files, using the last 3-4 releases including v2.0.018. This was extremely hard to narrow down but we finally got it.

In this particular table we have, when the total length of all the strings on the insert is 233 characters, columns are shifted and garbage is inserted into the row. Adding or removing one or more characters from any string in the query makes it work. This does work for Access 2000 and 2003 files, but we need this for Access 97 as well. It also happens in other tables but with different total string lengths.

Here are the steps to reproduce:

Define table1 with columns A through P.
All columns are CHAR(200) except for B which is a long integer.
All columns should allow zero length.

This code will reproduce the error, and if you modify the string length of any of the strings in the insert it will work.

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

Statement stmt = c.createStatement();

String insert =
"insert into table1(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P) values (" +


Thank you in advance.
Re:Very strange insert problem with Access 97
HXTT Support
2006-09-22 20:53:13.0
Passted test with v2.0.21 . Please download it. It's a fixed bug on yesterday:) Thanks for your report.
Re:Very strange insert problem with Access 97
Philip Cacsiola
2006-09-22 22:17:43.0
That's twice you guys had a fix within hours of me posting the question.

I love the amazing support for this product!!!!

Thank you again.

Search Key   Search by Last 50 Questions


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