Consultor Eletrônico



Kbase P25587: How to create a file for each record
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/11/2003
Status: Unverified

GOAL:

How to create a file for each record

FIX:

DEF VAR X AS character no-undo.
DEF VAR i AS integer no-undo.


FOR EACH Customer:
i = i + 1.
X = "C:\temp\" + STRING(1) + ".txt".
OUTPUT TO VALUE(X).
DISPLAY NAME.
OUTPUT CLOSE.
END.