VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
Truncate fields.

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
Anordlun



Joined: 13 Aug 2004
Posts: 12

PostPosted: Wed Nov 03, 2004 12:34 pm    Post subject: Truncate fields. Reply with quote

Hi.
Sometimes, when I retrieve data from a database field CHAR(10) NOT NULL, I retrieve not an empty string, but a space.
This might be correct, but when I've migrated our application into dbExpress from BDE, we faced some serouis problems.
We always let the BDE trim our fields, and now, all fields aren't trimmed.
I have dome some sourcecode changes in the dbexpsyb project, and I want you to give me a comment about them...

Is it OK to post the changes I've made in the TSQLCursor.getString function here, or shall we take them by email?
Back to top
View user's profile Send private message
VISOCO
VISOCO Software Manager


Joined: 15 Jul 2002
Posts: 48

PostPosted: Thu Nov 04, 2004 3:35 pm    Post subject: RE: Truncate fields. Reply with quote

Hi.

Yes, Open-Client doesn't return an empty string but a string filled with a
space. We decided to leave this feature to distinguish CHAR datatype from VARCHAR datatype.

Of course, you can add you own trim functionality, just allow us to see it (send it by email).
_________________
Best regards,
VISOCO Software Team
--
VISOCO Software - Sybase connectivity products
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group