BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 7 ADO problem URGENT

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Alexandre Rua
Guest





PostPosted: Wed Jul 30, 2008 2:52 pm    Post subject: Delphi 7 ADO problem URGENT Reply with quote



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
Back to top
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.