Hi All,
I try to get a compound excel report using template in webfocus. The following is my code that use to achieve this task:
CODE:::::::::
APP HOLD HOLDDIR
APP FI COMPXLS_SINGLE1 DISK compxls_single1.MHT
TABLE FILE CAR
HEADING
"Report 1: W Germany"
PRINT DCOST BY COUNTRY BY CAR
ON TABLE HOLD AS COMPXLS_SINGLE1 FORMAT EXL2K TEMPLATE 'hello1' SHEETNUMBER 1
END
TABLE FILE CAR
HEADING
"Report 2: England"
PRINT RCOST BY COUNTRY BY CAR BY MODEL
ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'compxls_single1' SHEETNUMBER 2
END
i have put the hello1.mht template in the holddir directory .
Still i get the following error message when i try to execute them in
http://XXXXX/ibi_html/homepage/adhoc.htm.
ERROR MESSAGE:::::::
0 NUMBER OF RECORDS IN TABLE= 18 LINES= 18
0 EXL2K FILE SAVED ...
(FOC3289) TEMPLATE FILE: Error opening file
(FOC009) INCOMPLETE REQUEST STATEMENT
BYPASSING TO END OF COMMAND
can anyone help me on this regard.