[SOLVED] -INCLUDE a file created within the same fex
In prior versions of WF, I used to be able to FILEDEF a temp file, run a TABLE FILE to generate FOCUS code in a HOLD file, then -INCLUDE this HOLD file in another TABLE. I cannot seem to do this in WF8 - I get an error: returncode 1020 - Cannot include resource specified incfile.txt
Any ideas?This message has been edited. Last edited by: Francis Mariani,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 01, 2015, 11:46 AM
Francis Mariani
An example that works in WF 8 with a fex on the reporting server:
FILEDEF INCFILE DISK incfile.fex
-RUN
TABLE FILE SYSCOLUM
PRINT
NAME
WHERE TBNAME EQ 'CAR'
WHERE READLIMIT EQ 5
ON TABLE HOLD AS INCFILE FORMAT ALPHA
END
-RUN
TABLE FILE CAR
PRINT
-INCLUDE INCFILE
END
It appears the problem might be when the fex in in the Repository.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 01, 2015, 11:50 AM
Francis Mariani
I have to use the venerable -MRNOEDIT
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 01, 2015, 12:59 PM
susannah
i always wanted an icon from the V8 commercial... slapping self up side o' head...
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID