LeonelSanchezJr
Programmer
I have a report which has 100 columns and it will not print because there are too many fields to print.
However, this code DOES work:
DEFINE FILE CAR
LCOUNTRY/A20=COUNTRY | '1234567890';
END
TABLE FILE CAR
"&FOCREL"
PRINT
-REPEAT ENDREP FOR &I FROM 1 TO 250
LCOUNTRY AS 'COUNTRY, &I'
-ENDREP
ON TABLE PCHOLD FORMAT EXL2K
END
-*******************
What I need to do is save my SQLOUT to a HOLD file,
then print 1 field at a time until all fields are exhausted, then print the next row.
Is this Possible?
Thanks,
Leo ;-)
However, this code DOES work:
DEFINE FILE CAR
LCOUNTRY/A20=COUNTRY | '1234567890';
END
TABLE FILE CAR
"&FOCREL"
-REPEAT ENDREP FOR &I FROM 1 TO 250
LCOUNTRY AS 'COUNTRY, &I'
-ENDREP
ON TABLE PCHOLD FORMAT EXL2K
END
-*******************
What I need to do is save my SQLOUT to a HOLD file,
then print 1 field at a time until all fields are exhausted, then print the next row.
Is this Possible?
Thanks,
Leo ;-)