470,614 Members | 1,481 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

Text datatype as Memo in Delphi


Hi all,

Is there a way to "cast" the text datatype fields in order to
not be interpreted as Memo fields in some Delphi data-aware
components? specifically DbGrids ? Should I tweak the
ODBC driver config ? or it is something related to the
client side programming tool? (delphi in this case).

regards

-Fernando

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 11 '05 #1
1 5972
> On Wednesday 02 July 2003 00:57, Fernando Flores Prior wrote:
Is there a way to "cast" the text datatype fields in order to
not be interpreted as Memo fields in some Delphi data-aware
components? specifically DbGrids ? Should I tweak the
ODBC driver config ? or it is something related to the
client side programming tool? (delphi in this case).

If I remember right, the thing is not in "casting" Memo to some other
data type, but to force controls to show contest of "Memo". I forgot
how I did it(it was before 2 Years).
And Yes, You are right - this has nothing to do with PostgreSQL.


I think anything longer than some number, either 256 or 512, is
interpreted as memo datatype, in which case you could truncate the excess
part of the field, and then if necessary cast as varchar.

~Berend Tober


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 11 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Steemer | last post: by
5 posts views Thread by sling blade | last post: by
3 posts views Thread by Chris | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.