shadowrl2644
Programmer
Problem using the text merge routine
it creates a first blank record or blank first line in the
file --- is there any way to remove (not create this first record)
Below is a sample of the code being used...
set safety off
SET TEXTMERGE ON noshow
STORE FCREATE('TempEdiout.txt') TO _TEXT
IF _Text = -1 && can't create low level file the exit
WAIT WINDOW 'Cannot create output file ; press a key to exit'
CANCEL
ENDIF
use EdiOut
SCAN
TEXT
<<outline>>
ENDTEXT
ENDSCAN
CLOSE ALL
it creates a first blank record or blank first line in the
file --- is there any way to remove (not create this first record)
Below is a sample of the code being used...
set safety off
SET TEXTMERGE ON noshow
STORE FCREATE('TempEdiout.txt') TO _TEXT
IF _Text = -1 && can't create low level file the exit
WAIT WINDOW 'Cannot create output file ; press a key to exit'
CANCEL
ENDIF
use EdiOut
SCAN
TEXT
<<outline>>
ENDTEXT
ENDSCAN
CLOSE ALL