Dynamic Page Orientation in Reports 6i

I have the following requirement. I need to print a letter that contains an attachment. The letter is two pages long and the page size letter and orientation is portrait. The attachment is legal but the orientation is landscape. So what it essentially means is that I need to change the orientation between pages. The letter is a separate repeating frame that the attachment, they are at the same level. I have set the main layout section to H=11 and W=8.5. When I layout the attachment in the layout editor and run the report I get error that the body is outside the frame etc... Meaning the size of the attachment is outside the page. I can define a different page size in the Trailer Section and it works fine if I am only printing one letter, If I enter parameters to print multiple letters, ie. from Customer A to C I get Letter A followed by letter B then Letter C then the three attachments. Problem is the letters go to a folding machine and need to be in order. I know I can do it by using text fields that contain the field name prefaced with and ampersand and then rotate the text field accordingly but this seems very cumbersome. Does anyone know of a better way to essentially create a single report that has different page orientations from page to page. Thanks in advance for any insights. Phil

hello,
in 6i we only support one page size per report. in 9i/10g we allow for different pagesize settings for the three sections of a report.
thanks,
ph.

Similar Messages

  • Show ordimages - dynamic page or portal reports

    Hi all.
    I have one table with 2 columns ordimages and 1 varchar2, im use a oracle portal forms to make inserts, its works perfect, but now a need to display this images, i try to use Portal Reports, but when a try display this images just show a small picture a want to display the original image like:
    Name Product: image in full size
    Can i do this in oracle reports or dynamic page , because later,a want to make a search in this product names ?
    tks
    Carlo.

    Please post this question to the Portal applications forum. This forum is for discussion of content area topics.
    Thanks,
    Jerry

  • Urgent: how to add dynamic page created by portal to your as a portlet in page

    i want to add a component i made by portal like dynamic page as a portlet into page in my application. please the answer is so important
    thanks

    HI,
    its easy to do.
    1.Create an application.
    2.Publish it as Application Provider.
    3.In that Application,create objects like dynamic pages,forms or report.
    4.Publish Dynamic page as a portlet.
    5.Create New Page or edit existing one.
    6.Click on add portlet tab and you will see ur dynamic page name in the portlet repository List.
    Thats it.
    null

  • Unable to Change Main Report Page Orientation in Crystal 10

    Hi,
    My report has 8 sub reports and every sub report is placed in a report footer section. When I change the page orientation from portrait to landscape, no change in main report. but It does change the sub report paper orientation.
    Is it because of the sub reports?
    Any Ideas?
    Thanks in Advance,
    Jyothi

    Thanks for the reply.
    But I was changing whole report to landscape. When I select Default margins, Main report changed to Landscape, earlier adjust aumomatically option was selected in Page setup dialog.That solved my problem.

  • Setting the page orientation for a report

    Hi
    Currently, in infoview I have observed that we can set the page orientation for a report in a webi document , i.e. whether the report is to be viewed in landscape mode or portrait mode.
    Currently, in the BO SDK, I have come across the classes like Orientation, but am not able to figure out how to use them.
    Can you please paste some code snippet, how to use this class for setting the orientation of the document.
    Thanks in advance,
    Shruti

    Hi Shruti,
    To retrieve the Reportcontainer for an existing report on a WebI document, you can do the following:
    ReportStructure oReportStructure = oDocumentInstance.getStructure();
    ReportContainer oReportContainer = (ReportContainer) oReportStructure.getReportElement(0);
    Hope this helps.
    Regards,
    Dan

  • Has anyone successfully used multiple page orientations in a CR2008 report?

    Hi -- I posted about this a couple of days ago:
       Unwanted blank pages using multiple page orientations in CR 2008
    I have a report with multiple subreports, each 1 page long, and some of which need to use landscape
    orientation (most are portrait). Thanks to the forum, I learned that this is possible in CR2008.
    Each subreport is in a report footer section. So, for the subreports that need to be landscape,
    I use the section expert for that footer, Paging tab, and set it to landscape. I DO NOT
    check New Page Before and New Page After -- but I get them anyway. There's a blank page
    before the landscape page -- portrait orientation. There's a blank page after the landscape
    page -- landscape orientation. In addition to being ugly, the blank pages mess up the page numbers that
    need to be associated w/ each subreport.
    I've checked the Report Footers before and after the footer for the landscape subreport.. neither of them have
    New Page Before or New Page After checked.
    I'm hoping to generate more interest/discussion w/ this post, and I also have some additional
    information.
    1) The "blank" pages that appear before and after the landscape page seem to be duplicates of the previous section.
    That is, subreport 3 is in page footer c (portrait). Its results correctly appear on page 3, but page 4, which appears
    blank, is also page footer c and shows the subreport object included -- but with no data.
    The subreport in page footer section d (landscape) appears on page 5 (it should be on 4). Page 6 appears blank,
    but it is also page footer section d and shows the subreport object included.
    If I change page footer c to landscape, all the "blank" pages go away (though subreport c takes up 2 pages because
    it's too long for a landscape page). So, from that perspective, having successive pages w/ the non-default
    orientation seemed to help...
    Is there some trick to using multiple page orientations in a report that I'm not aware of? Can someone describe
    an example where they were successful?
    Maybe tech support will be the way to go, but I'd like to think that someone out there has worked w/ this feature!
    Thanks much,
    Carol

    Please don't post the same question multiple times

  • Portal Forms / Reports / Dynamic Pages slow to compile

    We are running Portal 3.0.9.8.5 and RDBMS 8.1.7.4. Since applying the 30985 patchset we are finding that compiling existing or new applications takes nearly 5 minutes.
    The applications themselves run fine - Does anyone have any suggestions ?
    Thanks in advance
    Paul

    Anu,
    Generating the form /report/dynamic page is taking 5 plus minutes i.e. making a change -
    Once the application is compiled it runs fine.
    Thanks

  • Report page orientation - landscape

    Hi,
    I'm wondering how I can change my report page orientation to 'landscape' ?
    cheers
    J

    thank for your reply. I shoudl have mentioned that I am using Crystal Reports version 10.
    Is there an option to just choose 'landscape' rather than manually specifying the width and height of the page?
    cheers
    J

  • Explain please differences of report, dynamic page, frame, portlet

    Hi to all -
    I am a beginner with using WebDB/Portal development so forgive me for such simple questions.
    Can someone explain or point me to a site that explains the differences between report, dynamic pages, frame drivers and portlets? I am trying to understand when I might use say a dynamic page rather than a report, etc. Also, does the PDK functionality complement Portal or is it it's own web development tool entirely?
    I thank you for your shared knowledge
    Mark

    gday Mark -
    There is actually a portal specific forum on OTN which is where the portal experts are all concentrated. See, <a href="http://technet.oracle.com:89/cgi-bin/forumdisplay.cgi?action=topics&forum=Oracle9[ii[/i+AS+Portal&number=70&DaysPrune=20&LastLogin=">Oracle9iAS Portal</a>
    If you've not seen it, there is a ton of good info available for portal. See the page for
    <A HREf="http://otn.oracle.com/docs/products/iportal/doc_index.htm">Portal</a> whitepapers, tutories, faqs, etc.
    The PDK is a set of APIs which expose the services provided by Oracle9iAS Portal. This enables you to build your own custom portlets (the building blocks of a portal and it's pages) using your preferred development language and environment. Note that you can also expose a lot of the inbuilt functionality of portal as portlets to enable the easy reuse of people's work.
    See <a href="http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO">Oracle Portal Studio</a> site for more details on the PDK and portlets.
    cheers!
    -steve-
    null

  • Not able to open Modal Page through a report attribute link

    Dear All,
         Not able to open Modal Page through a report attribute link, kindly help me...
      I am using skill builders modal page plugin ...
    Thanks and Regards,
    Madonna

    Here's what you have to do.
    You set up your column link like this:
    Link text: whatever you like
    Link attributes: onclick="return false;" class="open_modal"
    Target: Page in this application
    Page: number of the page you want to open in your modal window
    You set up your dynamic action like this:
    Event: Click
    Selection type: jQuery selector
    jQuery selector: .open_modal
    (notice the dot at the beginning!)
    Action: SkillBuilders Modal Page (2.0.0) [Plug-in]
    Event Scope: Dynamic
    And finally, in your True Action (SkillBuilders Modal Page (2.0.0)), URL Location should be set as Attribute of Triggering Element.
    And that's pretty much all it takes.
    Hope this helps.

  • Can we use Dynamic SQL in Oracle Reports ?

    Hi ,
    Can we use Dynamic SQL in Oracle Reports ?
    If yes please give some examples .
    Thanx
    srini

    I believe the built-in package SRW.Do_Sql is what you are looking for
    Example from the document:
    /* Suppose you want to create a "table of contents" by getting the
    ** first character of a columns value, and page number on which its
    ** field fires to print. Assume that you want to put the "table of
    contents"
    ** into a table named SHIP. You could write the following construct:
    DECLARE
    PAGE_NO NUMBER;
    PAGE_FOR INDEX NUMBER;
    SORT_CHAR CHAR(1);
    CMD_LINE CHAR(200);
    BEGIN
    SORT_CHAR := :SORT_NAME ;
    IF :CALLED = Y THEN
         SRW.GET_PAGE_NUM(PAGE_FOR_INDEX);
         SRW.USER_EXIT(RWECOP PAGE_FOR_INDEX
         P_START_PAGENO);
         SRW.MESSAGE(2,TO_CHAR(:P_START_PAGENO));
    END IF;
    SRW.GET_PAGE_NUM(PAGE_NO);
    CMD_LINE := INSERT INTO SHIP VALUES
                          (||SORT_CHAR||,||TO_CHAR(PAGE_NO)||);
    SRW.MESSAGE(2,CMD_LINE);
    SRW.DO_SQL(CMD_LINE);
    COMMIT;
    EXCEPTION
      WHEN DUP_VAL_ON_INDEX THEN
            NULL;
      WHEN SRW.DO_SQL_FAILURE THEN
            SRW.MESSAGE(1,FAILED TO INSERT ROW INTO SHIP TABLE);
      WHEN OTHERS THEN
           COMMIT;
    END;

  • How to give no of lines per page in alv report

    hi
    could anybody tell me
    how to give no of lines per page in alv report
    i need bottom of page too
    if possible plz send the code too
    it ll be very helpful to me
    thanx
    kals.

    Hi,
    This is possible, using some of the events in the ALV.
    You could use AFTER_LINE_OUTPUT event and call you form after say, a certain line count is reached on the list output.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-name.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-form.
      APPEND gw_event TO gt_events.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                it_events                = gt_events[]
    and define the form for each event as follows - this would be a dynamic call by the ALV.
    *&      Form  after_line_output
    *       Form for the After Line Output Event in the internal table
    *      --> rs_lineinfo
    FORM after_line_output USING rs_lineinfo TYPE slis_lineinfo.
      IF sy-linno eq v_linno.          "Defaulted value for line count
        perform write_footer.
        NEW-PAGE.
      ENDIF.
    ENDFORM.                    " after_line_output
    For lines per page:
    rs_lineinfo-tabindex would give you the index of the current line in the list, which you could use to read the t_outtab table, and reduce the line count of items displayed on the earlier page.
    There are a few other events too, like BEFORE_LINE_OUTPUT and END_OF_LIST which you can use as required and print the data.
    Regards,
    Anil.

  • In a dynamic page how to share variable between PL/SQL and javascript

    For example, my dynamic page contains such PL/SQL codes:
    <ORACLE>
    DECLARE
    info varchar(100);
    rowid urowid;
    procedure doDelete(
    row_id in urowid
    ) IS
    begin
    Delete From xxx
    WHERE rowid = row_id;
    end doDelete;
    BEGIN
    Select name, rowid INTO info, rowid
    From xxx Where xxx;
    HTP.PRN(' <INPUT TYPE="button" VALUE="show value" onClick="alert(info);">');
    HTP.PRN(' <INPUT TYPE="button" VALUE="delete" onClick="doDelete(_row_id);">');
    END;
    </ORACLE>
    The variable 'info' and '_row_id' are correct, however the two HTP. sentence do not work. What's the problem?
    What I want to do is to show all the records in TABLE A in a page. And at the end of each line (record), there' re a 'delete' and a 'update' button to let user operate on this record. Is this possible? I know form can do delete an update, but it can not show all the records in a page like what report does. Besides dynamic page, is there any other better choice? Report can do it?
    One more question. In a report, I employed link on one field to a second report. It works well. But I want to open the second report in a new window when the link is click. Is this possible?
    I was almost driven crazy by these :( I so appreciate if anyone can help.

    The code written by you is insufficient for the funtionality you are trying to achieve. Below is a method to achieve the same.
    Note: Used standard scott.emp table for the example which is located in my db provider schema.
    Do the below modifications as per your local configuration
    xxxxx -> Replace it with your Portal schema
    yyyyy -> Replace it with your db provider schema
    <<module_id_of_form>> -> Replace with the module id of form created in step 1 & 2.
    First and foremost... oracle does not allows variables starting with '_'. So if you want to use it you have to place it in double quotes ("")
    rowid -> illegal
    "_row_id" -> legal.
    However, I will advice you not to use variable names starting with "_".
    Now lets get started...
    1. Create a form on the table you are using in the dynamic page. Just have the update button. Remove the other buttons.
    2. Get the module id of this form. Instruction for getting the module id:
    a) Right-click on the form's run link and copy the shortcut
    b) Get the value of p_moduleid parameter. This is your module id.
    3. Create a procedure "save_action_details" in your db provider schema. This procedure will accomplish the delete operation on the record.
         CREATE OR REPLACE Procedure save_action_details(
         p_rowid IN VARCHAR2,
         p_action IN VARCHAR2,
         p_dyn_ref_path IN VARCHAR2,
         p_dyn_page_url IN VARCHAR2)
         is
         l_sto_session xxxxx.wwsto_api_session;
         begin
         l_sto_session := xxxxx.wwsto_api_session.load_session(
         p_domain => 'DynStore',
         p_sub_domain => 'DynStore_' || p_dyn_ref_path
         l_sto_session.set_attribute(
         p_name => 'rowid',
         p_value => p_rowid
         l_sto_session.set_attribute(
         p_name => 'action',
         p_value => p_action
         l_sto_session.save_session;
         htp.init;
         owa_util.redirect_url(p_dyn_page_url);
         end save_action_details;
    Explaination: The above procedure creates a session and keeps the rowid and action in the session. This information is used by the below dynamic form to perform the necessary action. In our exampl, the action is always going to be delete so you may go ahead and hard code it, else leave it as it is.
    4. Grant execute privilege on the procedure "save_action_details" to public.
    sql> grant execute on save_action_details to public;
    5. Create your Dynamic page.
    a) In HTML code section have the below code. This code shows some columns from the table and "update" and "delete" buttons to perform the respective action.
         <ORACLE>select empno,ename,rowid,
         '<input type="button" value="Update" onClick="doAction(this.form,''UPD'',''xxx'','''
         || xxxxx.wwv_standard_util.url_encode(rowid) || '''); tWin();">
         <input type="button" value="delete" onclick="doAction(this.form,''DEL'',''' || rowid || ''',''xxx'');">' Action
         from yyyyy.emp</ORACLE>
    b) In additional pl/sql code section of dynamic page, have the below pl/sql block "in after displaying the header" section.
         declare
         l_sto_session xxxxx.wwsto_api_session;
         l_del_rowid varchar2(20);
         l_action varchar2(10);
         begin
         htp.comment('User code starts here ...');
         htp.p('<script>');
         htp.p('var winHandle;');
         htp.p('
         function doAction(formObj, action, rowid, erowid)
              if (action == "UPD")
              var formURL = "' || xxxxx.wwctx_api.get_proc_path('wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=<<module_id_of_form>>&p_arg_names=_rowid&p_arg_values=') || '" + erowid;
              winHandle = window.open(formURL, "winDynUpd", "width=750,height=500,resizable=yes");
              else
              formObj.p_rowid.value = rowid;
              formObj.p_action.value = action;
              formObj.submit();
         function tWin() {
              if (winHandle.closed) {
              document.location = document.location;
              else {
              setTimeout("tWin()", 500);
         htp.p('</script>');
         htp.p('<form name="dynRowProcess" method="POST" action="'
         || xxxxx.wwctx_api.get_proc_path('save_action_details','yyyyy')
         || '">');
         htp.p('<input type="hidden" name="p_rowid">');
         htp.p('<input type="hidden" name="p_action">');
         htp.p('<input type="hidden" name="p_dyn_ref_path" value="' || p_reference_path || '">');
         htp.p('<input type="hidden" name="p_dyn_page_url" value="' || p_page_url || '">');
         l_sto_session := xxxxx.wwsto_api_session.load_session(
         p_domain => 'DynStore',
         p_sub_domain => 'DynStore_' || p_reference_path
         l_del_rowid := l_sto_session.get_attribute_as_varchar2('rowid');
         l_action := l_sto_session.get_attribute_as_varchar2('action');
         if l_action = 'DEL' then
         delete from yyyyy.emp
         where rowid = l_del_rowid;
         end if;
         end;
    Explaination: The session information (rowid and action) stored by "save_action_details" procedure is retrieved by the dynamic page and is used to delete the record.
    6. Once you are through with the above steps, test it by placing the above "dynamic page" portlet on a page.
    a) When you click on delete button the record gets deleted and the automatically refreshed page will not show the deleted record.
    b) On clicking update button, a form will appear. do the necessary modifications in data and click update. the data in the form gets updated. Once you close the form the dynamic page gets refreshed automatically and it will show you the updated information.

  • Repeat a Header on each page of a Report that includes expressions - Report Builder 3.0

    Is there a way of repeating an header on each page of a report with the built-in expressions representing the new value on each header.  Example, Page 1 is correct but page 2 - the permit number, address and Tract does not match up, it repeats all the
    information from page 1.

    Hi KittyCat101,
    According to your description, you want repeat a show with expression to show Permit Number and Address dynamically on each page. Right?
    In Reporting Services, table header is not in any group row, so when you put expression with data field into header row, it will only return the first row of that data row. This is the reason why it always shows the information as Page 1.
    In this scenario, we can make records group on Permit Number. Then we put the Permit Number and Address in the group header. Set page break between each group instance.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Changing Orientation in Reports 3.0....

    Hi All
    Is it possible to have a single report printing a potrait and a
    landscape orientation
    for different pages in the report ?
    Well, I have a report to printing atleast 9 pages per record
    selected in the main driving
    query of which , 4 have to be in Potrait and the rest in
    Landscape orientation .Is it possible to
    change the orientation in the between pages trigger ? I have no
    clue ..Please help
    I am using Reports 3.0
    Thanx
    Regards
    Raghavendra
    null

    Hi Denz,
    Want to know if you got any progress on the nwbc logo? I am trying the samething here but didn't get any progress on it.
    Thanks
    Jacky

Maybe you are looking for

  • Set a default value to checkbox on Active Directory form

    Hi all how to set a default value to checkbox UD_ADUSER_MUST on Active Directory form? I set the value 1 on the column default value (ADUSER form), i try the provisioning resource AD to the user and this field is not selected. please help me.

  • Low volume on Ipod Nano when playing through car stereo

    I used to own a 4 gig ipod mini, and I'd connect it to my car stereo via a stereo cassette adapter. Well, that little guy crashed after a few years of good hard use, and I bought an Ipod Nano. Only, when I play the Nano through my car stereo, the vol

  • Remove an Element from the Element level...?

    i have appliction and a component. i put the component to stage using the addElement(new myComponent()); i use vertical layout so you can add the component over and over by clicking the button at the application level. I just want to be able to delet

  • No disc menu templates

    I'm new to video editing and have just installed premiere elements 7, and I have no menu templates in the disc menu section.  Should they be there? Where can I get them?  Thanks

  • Imac won't boot after upgrade to latest Yosemite

    After Upgrading to latest Yosemite version - my Imac will not start - it just hangs there or eventually comes with Crash window tellling it will restart. However the Imac does launch in safe mode - holding down the shift key -but then there is no sou