Article View: borland.public.delphi.database
Article #176DBE to ADO
From: Alexandre Rua
Date: Wed, 30 Jul 2008 10:01
Date: Wed, 30 Jul 2008 10:01
24 lines
2022 bytes
2022 bytes
Hi, I'm converting an application from BDE to ADO dbgo, and I'm running into a dificulty, all string fields when edited and posted are padded right with spaces to fill the total length of the field, that makes dbcombobox and dblookupcombobox(with char keys) to malfunction: For example I've a dbcombo box with items"One/Two/Three" and the fieldsize is char(10) the field is posted as "One " and when I cmae back to that record again the combo does not display the value even it is configured with style 'csdropdownlist': The same problem arises with dblookupcombobox with char keys. Even if I simply drop a dbgrid when I edit a text field it has all the spaces to fill the field total length and to edit I've to remove all that extra space ant edit!!! Can anyone help me!! Best regards, Alexandre Rua
Technical Details
Message-ID:
<ScydnaUACNBkpg3VRVnyvQA@novis.pt>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.novis.pt!news.novis.pt.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 115d96,fcc8cc9d089f7b86,start X-Google-Attributes: gid115d96,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.novis.pt!news.novis.pt.POSTED!not-for-mail NNTP-Posting-Date: Wed, 30 Jul 2008 05:01:29 -0500 From: "Alexandre Rua" <arua@institutonunalvres.pt> Newsgroups: borland.public.delphi.database Subject: DBE to ADO Date: Wed, 30 Jul 2008 11:01:19 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original Message-ID: <ScydnaUACNBkpg3VRVnyvQA@novis.pt> Lines: 26 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-3eF31rJi5gwyramGbsjo6EFjPxEtefrjVHFCzWMvnqcm9du1Tum519AJn0KZGK1yrjDPAGmMHovL6TI!gd7CgIT9gptD9CopIcMgOnCPeyvs4aB40fjbQ/HBXdWmzvGnC5HP/l86iOcoMHMmwibf X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39