Reports 2.5 on Windows XP [message #90148] |
Fri, 12 November 2004 03:39 |
Arvin AUDIT
Messages: 22 Registered: November 2004
|
Junior Member |
|
|
Hi
My application has been designed in D2K. When installed on win98, the application runs perfectly well. Now i am trying to install the application on Windows Xp and i am having to print reports. All my reports have been designed in Reports 2.5 and the reports uses 'prt'. When i try to print a report the i tried to check the registry of windows xp but to no avail. Below is the code that i use in forms to call my reports.
DECLARE
t_rprt_nm varchar2(40);
t_argmnt_lst varchar2(10):='pl_nm';
t_lgcl_prntr VARCHAR2(20):='BDCN_PRNTR';
t_nmbr_of_cps VARCHAR2(3) := '1';
t_dcmnt_nmbr VARCHAR2(15);
BEGIN
t_rprt_nm :='ARIOCMP2.rep';
t_dcmnt_nmbr := :b1.cmp_cmplnt_frm_brnch||'-'||
:b1.cmp_cmplnt_to_brnch||'-'||
:b1.cmp_cmplnt_dcmnt_typ||'-'||
to_char(:b1.cmp_cmplnt_yr)||'-'||
to_char(:b1.cmp_cmplnt_srl_nmbr);
g_proc_argmnt_lst_chr_bit(t_argmnt_lst,t_lgcl_prntr,t_nmbr_of_cps,'cmplnt.prt');
ADD_PARAMETER(t_argmnt_lst,'p_cmpny_cd',TEXT_PARAMETER,:b1.cmp_cmplnt_cmpny_cd);
ADD_PARAMETER(t_argmnt_lst,'p_frm_brnch',TEXT_PARAMETER,:b1.cmp_cmplnt_frm_brnch);
ADD_PARAMETER(t_argmnt_lst,'p_to_brnch',TEXT_PARAMETER,:b1.cmp_cmplnt_to_brnch);
ADD_PARAMETER(t_argmnt_lst,'p_dcmnt_typ',TEXT_PARAMETER,:b1.cmp_cmplnt_dcmnt_typ);
ADD_PARAMETER(t_argmnt_lst,'p_yr',TEXT_PARAMETER,TO_CHAR(:b1.cmp_cmplnt_yr));
ADD_PARAMETER(t_argmnt_lst,'p_srl_nmbr',TEXT_PARAMETER,TO_CHAR(:b1.cmp_cmplnt_srl_nmbr));
ADD_PARAMETER(t_argmnt_lst,'p_help',TEXT_PARAMETER,'NO');
ADD_PARAMETER(t_argmnt_lst,'p_dcmnt_nmbr',TEXT_PARAMETER,t_dcmnt_nmbr);
RUN_PRODUCT(REPORTS,t_rprt_nm,SYNCHRONOUS,BATCH,FILESYSTEM,t_argmnt_lst);
Can anyone please help.
Regards
Arvin
|
|
|