BigText to file

I am trying to write a file to disk. Run through a number of lines and use:

REPEAT

Descr.ADDTEXT(tabletextfield of 80 char);

UNTIL NAMEREC.NEXT = 0;

DiscFile.WRITE(Descr);

CLEAR(Descr);

Descr defined as a BigText var and DiscFile defined as File and created & opened the old fashioned way.

It doesn’t Work - get the error: Following text cannot be longer than (no refs. to anything)

and the I get the error: internal error 3 in module 9 and NAV collapses.

NAV 2009SP1/29626

Anyone got any ideas of what is wrong? - thanks in advance

Forgot to write that I am sure no total text will exceed 3500 char. in the Descr

try to write the bigtext data to an outstream based on the file instead.

// fileOutstream of type outstream

DiscFile.CREATEOUTSTREAM(fileOutstream);

Descr.write(fileOutstream);