Subject | Re: [IBO] Re: Right-trimming defaults |
---|---|
Author | Jason Wharton |
Post date | 2001-03-23T00:46:44Z |
David,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
> >David, how would you like an AsRawString property? This would be a way tosettings
> >explicitly have the trimming rules ignored regardless of what the
> >are. Then this would become the divider between the "interactive"the
> >application and the "non-interactive" application.
>
> Sounds like a great idea, as a matter of fact! That way, it keeps happy
> developers who sometimes (like me) need to know that what gets put in isin
> fact what gets given back, spaces and all. Although IBO is not to blamehave
> (because we weren't using it then, and the RDBMS wasn't InterBase), we
> had a lot of trouble with databases or database components munging ourexpected
> spaces, and had to resort to wrapping ".AsString" calls with a kludge like
> "FixDBStr". We could only do that because in each case we knew the
> size of the string and could hence right pad with the required number ofOk, consider AsRawString a feature soon to be added.
> spaces. The situation for others might be more difficult.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com