I am trying to use FPUTS to write out the contents of a memo field to a text
file. For some reason it will only display the first 44 characters. Is
there any way around this? Am I doing something wrong???

Re: FPUTS on a Memo by Rush

Rush
Mon Jun 30 16:55:28 CDT 2003

Is it a long string? PUTS() cuts off a (mumble-mumble). Try using the
number of characters parameter:

FPUTS(nHandle, cString, LEN(cString))

or:

FPUTS(nHandle, cString, 64000) && up to 64000 chars will be written

- Rush

"Altman" <BAltman@easy-automation.com> wrote in message
news:eTFvS40PDHA.1148@TK2MSFTNGP11.phx.gbl...
> I am trying to use FPUTS to write out the contents of a memo field to a
text
> file. For some reason it will only display the first 44 characters. Is
> there any way around this? Am I doing something wrong???
>
>
>



Re: FPUTS on a Memo by Gene

Gene
Tue Jul 01 05:42:43 CDT 2003

how are you using FPUTS() ?
fputs(fh, memofield) ?


do you have to use FPUTS () ?

try using STRTOFILE()

hth.....

"Altman" <BAltman@easy-automation.com> wrote in message
news:eTFvS40PDHA.1148@TK2MSFTNGP11.phx.gbl...
> I am trying to use FPUTS to write out the contents of a memo field to a
text
> file. For some reason it will only display the first 44 characters. Is
> there any way around this? Am I doing something wrong???
>
>
>



Re: FPUTS on a Memo by Altman

Altman
Tue Jul 01 08:07:34 CDT 2003

OK I think it's my select sql statement that is cutting it off not the
FPUTS() call. For some reason when I do a select into cursor on a memo it
does not copy the whole memo. How can I get by this?
"Altman" <BAltman@easy-automation.com> wrote in message
news:eTFvS40PDHA.1148@TK2MSFTNGP11.phx.gbl...
> I am trying to use FPUTS to write out the contents of a memo field to a
text
> file. For some reason it will only display the first 44 characters. Is
> there any way around this? Am I doing something wrong???
>
>
>



Re: FPUTS on a Memo by Mark

Mark
Thu Jul 03 06:22:16 CDT 2003

In article <OCmrVqNQDHA.3016@TK2MSFTNGP10.phx.gbl>, Rush Strong wrote:

> What is your syntax? Was it a PADR(), or some other string function?

Yeah, PadR()

Mark
-If more of us acted more sensibly,
d'you think Governments might join in?