Re: How can I insert a string var in a TEXT columns
Posted in 1997
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
On Wed, 12 Nov 1997, Christian Hernoux wrote: } I have a table with a field as a TEXT type } } In my 4GL program I have a string variable. } Ex: DEFINE MyVar CHAR(20248) } } LET MyVar = "blalcblacble",...,"blablabla" } } How can I insert this string varibale in a TEXT field of table? } I use I4GL ver. 4.11 and On-Line 5.01 You'd have to drop into C code. I believe there may be some code in the IIUG archive (http://www.iiug.org) to do blob<->string conversions, but I've not checked. I certainly have some code which was posted to c.d.i several years ago stashed away. It is remarkably difficult to do anything useful with blobs in I4GL. Yours, Jonathan Leffler (johnl@informix.com) #include <witticism.h>