Field limit?

andu undo at cloud9.net
Fri Dec 14 06:15:01 EST 2001


 Shari wrote:
> >
> > I have a very large text file I wanted to import into a field.
> >
> > When I use the IMPORT button, the entire file ends up on one line,
> > even with the wrapping turned on.  And it doesn't import the entire
> > file.
> >
> > When I use a script to import,
> >
> > open file theFile
> > read from file theFile until eof
> > close file theFile
> > put it into cd fld someField
> >
> > it only puts a very very small portion of theFile into the field.  I
> > mean about a paragraph.

have you tried this:

 open file theFile for read
put 0 into tOffset
repeat while it is not empty ## or eof or something like that
 read from file for 80 at tOffset+1
put it & cr after temp
add 80 to tOffset
end repeat
 close file theFile
put temp into fld X

You get the idea, I didn't test it.


-- 
__________________________
 Regards, Andu



More information about the metacard mailing list