Report generated in .txt format but some problems [message #277218] |
Mon, 29 October 2007 04:45 |
|
sasipalarivattom
Messages: 121 Registered: June 2007 Location: Cochin ( INDIA )
|
Senior Member |
|
|
Hi......
I created a report which is geneated in .txt format.
What I do for this is
1.First I change the system parameter mode to character in the report.
2.Then I place a button in my form to call the report.
code in the button is as follows..
DECLARE
rePid REPORT_OBJECT;
rep_hndl VARCHAR2(100);
BEGIN
rePid := Find_Report_Object('reptxt.rdf');
Set_Report_Object_Property(rePid,Report_deStype,FILE);
Set_Report_Object_Property(rePid,Report_FileName,'d:\sasi\reports\reptxt.rdf');
Set_Report_Object_Property(rePid,Report_desName,'d:\sasi\output\repprint.txt');
rep_hndl := Run_Report_Object(rePid);
END;
and it is working..
Now the problam is that when I preview the report from the
report builder, it is in the format I needed.
But when I run the form and run the report,Its alligment is not correct.
I shall attach the notepad as reply for this post,Because I have to attach two files.
thanks in advance and sorry for the inconvenience due to 2 attachmets...
Please reply if u didn't get me...
[Updated on: Tue, 30 October 2007 00:26] Report message to a moderator
|
|
|
|
|
|
|
Re: Report generated in .txt format but some problems [message #303334 is a reply to message #277218] |
Thu, 28 February 2008 23:10 |
bhagawandotcom
Messages: 2 Registered: September 2007
|
Junior Member |
|
|
Hi
While transfering report to text,I didn't get output.My code is
DECLARE
rePid REPORT_OBJECT;
rep_hndl VARCHAR2(100);
BEGIN
rePid := Find_Report_Object('REP_QTY');
Set_Report_Object_Property(rePid,Report_deStype,FILE);
Set_Report_Object_Property(rePid,Report_FileName,'D:\DOR\reportsnew\DAR_QUANTITY_ESTIMATION_DTL.rdf');
Set_Report_Object_Property(rePid,Report_desName,'D:\DOR\output\repprint.txt');
rep_hndl := Run_Report_Object(rePid);
END;
So,Plz help me.
|
|
|
|