Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Using Oracle Reports6i to create export file
I am calling a Report from a Form via the below code:
Add_Parameter(V_Paramlist_Id,'PARAMFORM', TEXT_PARAMETER, 'NO'); Add_Parameter(V_Paramlist_Id,'DESTYPE', TEXT_PARAMETER, 'FILE'); Add_Parameter(V_Paramlist_Id,'DESNAME', TEXT_PARAMETER, V_Export_FileName); Add_Parameter(V_Paramlist_Id,'DESFORMAT',TEXT_PARAMETER,'delimited'); Add_Parameter(V_Paramlist_Id,'DELIMITER',TEXT_PARAMETER,'TAB'); Add_Parameter(V_Paramlist_Id,'P_MONTH',TEXT_PARAMETER,P_Month); Add_Parameter(V_Paramlist_Id,'P_YEAR',TEXT_PARAMETER,P_Year); Add_Parameter(V_Paramlist_Id,'P_Name',TEXT_PARAMETER,:Parameter.P_Name); Add_Parameter
IF ID_NULL(V_Paramlist_Id) THEN
Message('Error creating parameter list: '|| V_Listname); RAISE Form_Trigger_Failure;
The report is TABULAR.
What I want to do is when a developer runs the report for testing and/or
changes while in report builder the column labels should print above their
respective columns and when called from the form when in production it
should create a tab delimited file with the column labels omitted.
I've been able to get the column labels NOT to appear at the beginning of each row by specifying a format trigger on the group:
FUNCTION SUPPRESS_LABELStrig RETURN BOOLEAN IS BEGIN
If :DESTYPE != 'Screen' and :DESTYPE != 'Printer' and :DESTYPE != 'Preview' then return (FALSE); Else return (TRUE);
How can I remove the TAB that is being inserted for the column headings?
TIA
-- Posted via CNET Help.com http://www.help.com/Received on Wed Jun 20 2001 - 12:30:07 CDT
![]() |
![]() |