Subject Re: [ib-support] How to do CTRL characters in an IB string literal?
Author Andrew S. Vaz
Jason,

The only way I got to do that was using a Memo(blob) type field to save the
scripts. (I use this approach in my apps).
I tried some other stuff (string fields, bineary blobs) but it was too much
overhead to be worth it.

HTH

Andrew

> I have never tried doing this before so I am a bit curious...
>
> What if I wanted to insert a record with a string that contained control
> characters from a script. In other words, I cannot use an input parameter
to
> do it.
>
> In Delphi you do this:
>
> MyVariable := 'some text'#13#10;
>
> In InterBase can you do this?
>
> Insert into mytable( ACol ) values ( 'some text'#13#10 )
>
> If not, I think it would be a useful addition to the InterBase parsing
> engine.
>
> Perhaps I'm just up too late...
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>