Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6881495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:06:54+00:00 2026-05-27T05:06:54+00:00

We are currently using Delphi with Borland database. We are planning to move from

  • 0

We are currently using Delphi with Borland database. We are planning to move from borland to Firebird libraries, (borland lib has mem leaks).

The problem that we are having now is, Firebird library returns a char with trailing spaces, which was somehow handled borland library. We have huge code written without any trimming.

So now if ‘abc’ is stored in char(10) field, it returns ‘abc       ‘. and our code fails. I was wondering if there is some configuration that I can do on the DB or firebird library to automatically trim char fields.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:06:55+00:00Added an answer on May 27, 2026 at 5:06 am
    1. Why don’t you just change fields types in a database from CHAR to VARCHAR?
    2. You can use TRIM() function in SELECT statement.
    3. You can put a couple of changes into IBX source codes in order to right trim CHAR
      strings.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a few Delphi Win32 (currently using D2007) applications, which revolve around
I'm using Delphi 7, totally new to database programming, and need ODBC. I am
We're currently converting a Delphi 2007 project to Delphi 2010. We were already using
I am currently using Delphi 2006 a few days ago I downloaded a copy
I'm currently using this code for md5 hashing in Delphi 7: function MD5(const fileName
ADO components are present in the Delphi 2009 Professional Version? Currently I'm using delphi
I am developing a timer in Delphi 2009. I am currently using the following
I'm using Delphi 7 and Firebird 1.5. I have a query that I create
I'm currently working on modifying a Firebird v. 1.5 database. The database structure will
Does .NET has an Exception that similar to Delphi's EAbort ? Currently, I define

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.