473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

REG:oracle apps

151 100+
hi


i have a report which prints voucher number and its corresponding payment details. some voucher numbers may have only one record and some may have many.my requirement is if a new instance of voucher number starts the printer should automaticcally start printing in a new page, i,e. if a new voucher number starts its formatiing on the page it should be on a fresh new page.
Now it is printing as per the output i,e. first voucher number and second in page 1 itself as they have only 1 records corresponding to them each. I tried with page break after but it is of no use.
Plese suggest a solution, should we code for printer directly or is there any other option.



thank u
Aug 24 '07 #1
5 1600
amitpatel66
2,367 Expert 2GB
Do the following to get the page break for each voucher number:

I think Voucher number and all otehr columns will be in same Group of the Report Query.

Now you Pull the Voucher Number out of the existing group and place it in the another group as a parent for the existing group.

For eg: Group G_VoucherNo -> Parent to the group G_1 (With all other columns)

Now you need to place 2 repeating frames in the Layout:

The outer repeating frame set to G_VoucherNo
The inner repeating frame set to G_1

Now for the outer repeating frame, set the PAGE BREAK AFTER to YES.
This will get you the page break for all the voucher number details.

I hope this will help because I have tried in Reports 6i and it works!!
Aug 24 '07 #2
vamsioracle
151 100+
Do the following to get the page break for each voucher number:

I think Voucher number and all otehr columns will be in same Group of the Report Query.

Now you Pull the Voucher Number out of the existing group and place it in the another group as a parent for the existing group.

For eg: Group G_VoucherNo -> Parent to the group G_1 (With all other columns)

Now you need to place 2 repeating frames in the Layout:

The outer repeating frame set to G_VoucherNo
The inner repeating frame set to G_1

Now for the outer repeating frame, set the PAGE BREAK AFTER to YES.
This will get you the page break for all the voucher number details.

I hope this will help because I have tried in Reports 6i and it works!!









hi

Voucher number is in the outer Parent repeating frame and details are in the child, i tried with page break after to the outer repeating frame. I could see a small square in the output that seperates two pages, but when i try to take printout the details of two vouchers come into one page. i want the printer to take a new page ,no matter the remaing part of the page is wasted, for each voucher number.

thank you
Aug 24 '07 #3
amitpatel66
2,367 Expert 2GB
In that case, u probably try extending the size of the main frame,and two repeating frames to page size and make the horizontal and vertical elasticity as FIXED. Set the size of the main and repeating frames depending on the type of the printer you are using....ie LANDSCAPE or PORTRAIT.
Aug 24 '07 #4
vamsioracle
151 100+
thank you very much


I was able to solve the problem partially with that solution. When a voucher number has 1 or 2 or 3 records it prints in one page and the next voucher voucher number starts in the seond page. But for voucher numbers having 15 to 20 records the last record ends inthe mid of the page and the nextvoucher number starts there itself. So, the problem is partially solved.
Aug 29 '07 #5
amitpatel66
2,367 Expert 2GB
Well, this should not happen becuase if it is working fine for 3 records then it should work fine for any number. What you could try is extending the frame size further if it helps for more number of records as well.
Aug 29 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: r_kum | last post by:
Is it posible to take outputs of 9ids in a character mode ?please provide me solution -- Posted via http://dbforums.com
1
by: vamsioracle | last post by:
hi I am working for Oracle Finance. I heard the XML Publisher is replacing APPs Could you plz guide me regarding this. where can i get get the required information. thank u
2
by: vamsioracle | last post by:
hi all can any one expain me what this error means REP-1212: Object 'Body' is not fully enclosed by its enclosing object 'P_to_date'
1
by: vamsioracle | last post by:
hi Can i customize the colour and name of the instance in Apps. For example i want my production instance in a different colour and with my name. how can i do that. thank you
2
by: vamsioracle | last post by:
hi all I developed a report with only one text item, no frame and repeating frame. I dont even have a data model. I just placed a text item in the lay out and ran the report in apps. It...
1
by: vamsioracle | last post by:
Hi I am working on a discoverer report with minimum knowledge. have an issue where in i need to execute two different formula or calculations based on a condition if the loan type is of soft...
1
by: tatipellinaresh | last post by:
Hi, I am working on oracle reports builder. I am using bar graph. I am getting data as Jun-2008 but it is displaying Jun-2 on X-axis. anyone can help me out. Thanks Naresh
1
by: tatipellinaresh | last post by:
Hi, I am using reports builder for generating report. In my report iam sending parameters from one jsp to other jsp. In the second jsp parameters are coming good, when iam printing ...
0
by: tatipellinaresh | last post by:
Hi, In my report I am using a bar graph. In the MarkerText data value is showing like 32k for value greater than thousand. I want to show value as it is. I dont want to show in terms of 'k'....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.