🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.database
1 messages
1 total messages Started by Alexandre Rua Wed, 30 Jul 2008 10:01
DBE to ADO
#176
Author: Alexandre Rua
Date: Wed, 30 Jul 2008 10:01
24 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads