ACC1x: 255-Char String Displays Only 254 Characters with ODBCID: Q100658
|
When you attach a remote table using ODBC, data in 255-character fields in the attached table appears to be truncated after the 254th character.
A data buffer is set one character too small to display all the data in the field. Note that only the display is being truncated, the data itself is unchanged.
Create a Memo or Note field to contain data that is 255 characters long.
Microsoft has confirmed this to be a problem in Microsoft Access version 1.1. This problem no longer occurs in Microsoft Access version 2.0.
In Oracle: CREATE TABLE Bug (Id NUMBER(10,0),
Field1 CHAR(255))
CREATE UNIQUE INDEX BugPK ON Bug(ID)
In SQL Server: CREATE TABLE Bug (Id INT, Field1 CHAR(255))
CREATE UNIQUE INDEX BugPK ON Bug(ID)
MacroName Action
----------------------
^A SendKeys
AutoKey Actions
---------------
SendKeys
Keystrokes: {TAB}{a 255}
Wait: No
Additional query words: ODBC Oracle truncate
Keywords : kbusage OdbcOthr
Version : 1.1
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 24, 1999