I’m using ADO-components to connect to an access database. In a column defined as text with width 50, dataaware textfields always displays 50 characters even when the actual string value contains less characters. The value gets padded with spaces, and if the textfield is not wide enough, it looks like it is empty.
Anyone got any clues?
Thanks, -Vegar
Edit: I’m using Delphi 2007.
The problem comes from using Char(50) instead of Varchar(50) when creating the table.
I still think there should be a way of displaying the unpadded value, but switching to varchar is ok.