Subject | Re: [IBO] TIB_ColumnText and strings that are too long |
---|---|
Author | Martijn Tonies |
Post date | 2006-01-17T14:52:59Z |
Hello Jason,
component.
Yes, slightly better, although the error message is less optimal.
Also, it doesn't seem to be available for TIBO* parameters?
Thanks for letting me know though, I can use this...
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> One thing to PLEASE keep in mind here.case
>
> When assigning text values in code if you use the AsRawString property
> instead of the AsString property you WILL get length checking as well as a
> more efficient operation because there isn't other stuff like trimming,
> sensitivity, OnSetText event, etc. type of processing going on. Yousimply
> slam in raw text that is ensured to be sent to the server just as it isis
> presented or you get an exception.
>
> This is more or less what Martijn was looking for in the beginning and
> perhaps he would have been appeased at just knowing and using this. This
> the IBO way of dealing with text imports, etc.Right, this one triggers a "string truncation" error from within the
component.
Yes, slightly better, although the error message is less optimal.
Also, it doesn't seem to be available for TIBO* parameters?
Thanks for letting me know though, I can use this...
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> As it is, I went ahead and enhanced IBO to allow for efficient handling ofsimply
> checking the data length when using the AsString property as well. I
> customized the FieldsTrimming behavior. See the release notes in the next
> sub-release.