Subject | RE: [IBO] Length of string fields in a IBOQuery |
---|---|
Author | Support List |
Post date | 2011-07-13T19:04:58Z |
Patrick,
It is possible there is a problem but I need more details from you to know
if what you are seeing is a proper indication of bytes or if it should be
showing the size in characters.
Thanks,
Jason LeRoy Wharton
www.ibobjects.com
> I'm testing the latest releases of IBObjects right now, which supportThe size you are seeing is the size in bytes.
> unicode.
>
> To port my application I took the easiest way and replaced TStringField by
> TWideStringField in all *.dfm and *.pas files, which worked fine.
>
> Today I noticed a difference, though. A difference regarding the size,
> compared to a field, which I add via a IBOQuery.
>
> In the database one of the fields is defined as "varchar (30)". That was
> also the size with the older release of IBObjects. If I delete this field
> from the query and add it again with the current release (build 9), the
> field is being added with a size of 120. A "varchar (50)" with the size
> 200 etc.
>
> Are the new values correct and caused by unicode support or so?
> Does it mean, that I have to remove and add all string fields via a
> IBOQuery again, so the previous sizes are set to the new values?
It is possible there is a problem but I need more details from you to know
if what you are seeing is a proper indication of bytes or if it should be
showing the size in characters.
Thanks,
Jason LeRoy Wharton
www.ibobjects.com