ACC97: SQL Pass-Through Query Truncates Last Byte of Data (269404)



The information in this article applies to:

  • Microsoft Access 97

This article was previously published under Q269404

SYMPTOMS

When you run a pass-through query, the last character is truncated.

CAUSE

This problem occurs when the length of data is a multiple of (n * 255) + 1, where n is an integer equal to or greater than 1. For example, the length of data is 256, 511, 766, and so on.

In the Microsoft Jet database engine, if the data size of the result of a pass-through query exceeds the reserved buffer size, Jet expands the buffer size. However, Jet does not expand the buffer size correctly when the data size of the result equals (n * 255) + 1 bytes.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The Japanese version of this fix should have the following file attributes or later:
   Date      Time    Version      Size      File name     Platform
   -------------------------------------------------------------
   6/9/2000  9:07   3.51.4207.0   1,051,408 msjet35.dll   x86
   6/9/2000 10:25   3.52.4207.0   1,239,312 msjt4jlt.dll  x86
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/17/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB269404