
Saving a Field to a Text File
Something like this
AsciiFilename3 STRING(FILE:MaxFilePath),AUTO,STATIC,THREAD
AsciiFile3
FILE,DRIVER('ASCII'),NAME(AsciiFilename3),PRE(A3),THREAD,OEM
RECORD RECORD,PRE()
TextLine CSTRING(1000)
END
END
Quote:
> How would you go about defining it locally? I thought every file had to
be
> defined in the data dict.?
> Thanks,
> Ed
> > Sure.
> > Define an ASCII file that has a single field that is a cstring of 1000
> > Assign the textfield value to the single field and do an Add
> > You can either put an ASCII file definition in your data-dictionary or
you
> can
> > put it in the local data of the procedure and use it "locally"
> > Tim
> > > CW5.5EE, ABC
> > > Is there an easy way to save the contents of a text field
(CSTRING(1000)
> to
> > > a text file? I will always know the name of the file I want to save
to,
> so
> > > that should be hardcoded.
> > > Any Ideas?
> > > Tim