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.

Regards
abc

Answer Posted / sudipta santra

U do one thing: Plz set on of the report's each item's
property of Confine mode and flex mode.

When Flex mode is on means when the child item be resized
then according parent items be resized.

When Confine mode is on means the chiled items will not move
out from or replaced of parent item.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u print the data horizantally by using XML report? EX:Suppose there is one table names as SAMPLE in that we have only two columns say empno,ename.I want the output like this,At run time user may enter 3 colums(i.e to data print horizantally). empno ename empno ename empno ename 100 aaa 101 bbb 102 ccc 103 ddd 104 eee 105 fff

1644


why the Ctl file u put only in bin folder why not in other folder

1599


What is the difference between flex mode and confined mode?

530


Name the different triggers associated with oracle forms having a master-detail relationship.

501


a text item is there what r the different types of triggers associated with it

1514






did u p prepared complex report

1602


suppose u have been seven tables based on that u have to create a report u don't have access to db. then how do u find the relation between tables

1598


how do u place it in required folder

1478


List out the oracle forms configuration files?

564


how to send file attachment from oracle forms

2139


If the valueset if of type –TABLE then how many tables can we attach in the valueset ?

1822


from where do u receive the information to develop report

1528


in after report trigger if you don't write Srw.user_exit(Fnd_user exit) what it will do it will stop report execution or it will just not free the memory

2493


what is oracle forms?

601


if i want to change the functionality of a item in report during runtime how like what do u write in when_button_pressed

1483