I have a situation where I need to export all the data available in temp table as .csv file. Below query helping me only export as .csv file but not sure how to write the logic to change the font color and cell. Please help me because I have a limited knowledge in progress 4GL.
DEFINE TEMP-TABLE tt_data NO-UNDO FIELD cData1 AS CHARACTER FIELD cData2 AS CHARACTER . CREATE tt_data. ASSIGN cData1 = "FORD" cData2 = "TATA" . OUTPUT TO "C:\temp\test.csv". FOR EACH tt_data NO-LOCK: EXPORT DELIMITER "," tt_data. END.