Solved

ANSI PADDING

Posted on 1998-01-09
2
918 Views
Last Modified: 2008-02-01
Setup: SQL Server 6.5. Client- MS Access 2.0 ODBC driver version 1.02.3231 (comes with Access). The problem I have is: I have a SQL table vith ,say char(10) column. When I attach this table in Access, text entered in character field  is padded with spaces (eg. instead of 'aaa' i would have 'aaa       ' so in order to insert or add something to the end I have to remove spaces and then type. I belive it has something to do with ANSI padding setting in SQL server, so how do i configure it?
0
Comment
Question by:spiridonov
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 100 total points
ID: 1089939
Your column on the SQL server needs to be defined as VarChar(10).  This should prevent it from being padded.  
0
 
LVL 9

Expert Comment

by:cymbolic
ID: 1089940
Also, MS has been slipping in fixes on every release of Access and the ODBC drivers.  If you can, you are well off going to the latest version of MS Access (Access 97 or 8.0) and installing the 3.0 version of the ODBC driver manager.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question