How to show refreshed modal window(2nd report region window) - reposting

Hi,
I have a requirement where i scroll thru different rows in grid region.
Moment I tab out from first row, I pop up 2nd report, where I show related detailed data lines for the tabed out line of first grid.
So my 2nd window is a report region query, whose 'where' clause contains the primary key from the row of first grid window.
On tab out of a row of first window, I have a javascript function, which shows 2nd report region using:
var mywindow =
window.showModalDialog
('http://MY-URL-/ebus/apexQA111/f?p=&APP_ID.:25:&SESSION.',myObject,'dialogWidth=800px;dialogHeight=300px;dialogLeft:50;dialogTop:50');
Problem:
On First tab out, I get the correct data display on 2nd window, which is related to current tabbed out row.
However, If I tab out from next record, modal window pops up and it still shows my detailed data of first tabbed out row.
Somehow the 2nd window is not getting refreshed/recalculated based on my new tabbed out row. I only have showmodaldialog in my JS function.
Anyway to refresh the window based on new values of the where clause variable? and then showing the window?
Please help!!
Regards,
Ravi.
Edited by: Rave on Nov 26, 2009 6:15 AM

Hi Rave,
You can refresh any window with the java script below, just make it conditional on the value of an item within your page so that it dose not run every time the page is loaded.
if ($v('P1_MY_ITEM') === 'foo' ) {
window.location.href = document.location.href;
}

Similar Messages

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • How to show unhidden parameter in linked report in report manager in ssrs ?

    Hi,
    in my ssrs report1 i have added a image,if i click on that image it will redirect to report2 and it will take parameters from report1 automatically and all parameters are in report2 are hidden because it will consider report1 parameters,but here my requirement
    is 
    in report2 i have total six parameters and all are hidden,i want to show the one of the hidden parameter(LOB) in report,so, i was set visibility property to visible, now i am able to see that one parameter(LOB).
    but after deploying the report in report manager,when i click on the image it is not showing the parameter(LOB)
    Do i need to change anything in image properties?please let me know
    Please help me with this issue how to show the that one particular parameter(LOB) in report manager which is unhidden?, it is an urgent requirement. 
    here we are building reports on cube.
    Please let me know if you need more information.
    Thanks in advance,
    Naveen

    Hi Naveen,
    As per my understanding, since the purpose of a drill-through report is to pass the parameters from main report to the details report, we wouldn't want users to see or modify the parameters in the details report. Therefore, by default, the parameter pane
    is automatically hidden in the details report.
    In this scenario, we can try to use “Go to URL” instead “Go to report” option to work around this issue. If the parameters are multi-value parameters, we can use the expression to like below:
    ="javascript:void(window.open('http://server_name/reportserver?/Report_folder/Report_name&A=" &Join(Parameters!B.Value,"&A=") & "','_blank'))"
    If the three parameters are single-value parameters, we can use the expression to like below: ="javascript:void(window.open('http://server_name/reportserver?/Report_folder/Report_name&A=" & Parameters!B.Value & "','_blank'))" 
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to show image in TestStand xml report

    Hi,
    I am using TestStand to run DLLs written over CVI.
    I am using the xml report for collecting results.
    Some of the tests i run require showing images on the report -
    I would like to know how to allow showing an image on xml report by writing a CVI code.
    Thanks,
    Moshik

    Hi Moshik,
    There is an example for inserting images in your report in this discussion:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=2819&requireLogin=False
    TestStand uses the sequences named reportgen_***.seq that default to the
    C:\Program Files\National Instruments\TestStand 3.5\Components\NI\Models\TestStandModels directory for report generation.
    You can edit the reportgen_xml.seq for XML reports.
    Is it really necessary for your DLLs to do the image insertion?
    Gavin Fox
    Systems Software
    National Instruments

  • How to Show the Adobe Paragraph Composer in Control Window

    Hello,
    I have the Adobe Paragraph Composer shown in my InDesign CS6 already on the Control Window (the tools on the top of the window). I am trying to set that up for my friend as well, but I just couldn't remember how did I do that.
    Could someone please guide me how to show it on the Control bar on the top of the window? I know I can display the panel under TYPE, but would like to have it show in the Control instead since I use it so much.  Here's what I am asking:
    Any kind assistance is much appreciated.
    Thank you.

    Hi,
    In my thread itself, i have mentioned that, i am duplicated default framework page. I am using CE, in that end user content folder there is no light framework.
    Can u let u know where the light framwork present in CE.
    Thanks & regards,
    Kathiresan R

  • How to show lines in my matrix reports??

    hi all,
    i want to show matrix lines in my report. if an item code has data then it shows lines otherwise it shows null value with no lines....
    plz help

    i got it... :)
    now no need to reply on this thread

  • Show Image in an SQL Report Region

    Hi,
    I'm having some trouble with showing an image in an sql report region.
    I used the Upload/Download Tutorial in the HTMLDB How-Tos and it worked well.
    Now, I have the following in the query region:
    select s.facilityid, s.id, s.name, s.subject,
    '<img src="#OWNER#.download_my_file?p_file=s.id" width="90" height="70">' image
    from file_subjects s
    where s.facilityid = :FACILITYID
    I get a red X in place of the picture. I know that the pictures are there and have been uploaded successfully. Can anybody tell what I am doing wrong?
    Thanks much,
    Nora

    Nevermind, I fixed it by changing the image line to
    '<img src="#OWNER#.download_my_file?p_file=' || s.id || '" width="90" height="70">' image
    Thanks
    Nora

  • Show alert in row of Report Region

    Hi,
    I've a report region containing say 30 rows and columns:
    1. Error_reason
    2. Error_code
    3. Action (apex_item.select_list values 'No Action','Incorrect','Valid')
    If 'Valid' is chosen then Error_code will be processed i.e. record will move to master table.
    Now if already this Error_code is present in master table there is a validation process which runs when clicked SUBMIT and should show an alert showing a red cross next to the column Action for that row or mark the row red.
    How can it be implemented?
    Can I use apex_item.text(value 'X') with hidden=false from validation process where error_code is present in master table?
    Please suggest ASAP.
    Thanks.

    You said Now if already this Error_code is present in master table then you want red cross next to the column Action for that row or mark the row red.
    Why do you need in the Submit processing when you can identify them when the report displays? You could even suppress the duplicated rows from displaying !
    SELECT ERROR_REASON, ERROR_CODE, ACTION,
    decode( (select count(*) from ERR_MASTER B where B.ERROR-CODE = A.ERROR_CODE)
            ,0,null,'<img src="#IMAGE_PREFIX#FNDCANCE.gif" ALT="DUPLICATE" />') "Status"
    FROM <ERROR_ENTRY_TABLE> A
    WHERE ....Of course, you have to change the table and columns names in the above query to match what you have. Its the DECODE that is the point I am trying to convey.
    Now go to Report Attributes and change the Status Columns Type to Standard Report Column.
    Regards,

  • How to display the items in a Report Region

    Is it possiable to have the fields in a report region based on an sql query be display in somthing other than a row? For example if I have a Report Region with four columns it will look something like:
    <Field 1, row 1 value> <Field 2, row 1 value> <Field 3, row 1 value> <Field 4, row 1 value>
    <Field 1, row 2 value> <Field 2, row 2 value> <Field 3, row 2 value> <Field 4, row 2 value>
    <Field 1, row 3 value> <Field 2, row 3 value> <Field 3, row 3 value> <Field 4, row 3 value>
    etc
    Is it possiable to tell ApEx to display the Report Region like:
    <Field 1, row 1 value> <Field 2, row 1 value>
    <Field 3, row 1 value> <Field 4, row 1 value>
    <Field 1, row 2 value> <Field 2, row 2 value>
    <Field 3, row 2 value> <Field 4, row 2 value>
    <Field 1, row 3 value> <Field 2, row 3 value>
    <Field 3, row 3 value> <Field 4, row 3 value>
    etc
    Maybe there is a nother way to do this that uses somthing other than an sql based report region. Thanks very much for the help.

    This can be done using a SQL query report region with a [custom report template|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#sthref1744].
    Unfortunately the documentation is not particularly helpful on this topic, and as use cases tend to be very specific, reusable solutions are rarely shared in the community ("custom" reports after all...) See [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=1569996] for a good discussion of the technique, with a link to an example on apex.oracle.com.
    A response to [another recent thread|http://forums.oracle.com/forums/thread.jspa?threadID=1012690] showed another example on page 1 of the [Online Store demo app|http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STORE], which you can download, install and examine. This uses a custom report template in conjunction with the report HTML Expression feature.
    (I'm not totally clear on the display you're after: it might help to repost it using some example data rather than the abstract <Field 2, row 1 value> approach. Wrap the sample in \...\ tags to get fixed width characters that can be made to align, if that will help.)

  • How do I reference items in a report region

    I've created a report. You can view the region attributes at http://i3.tinypic.com/wcn59h.jpg.
    I've changed the "Display As" attribute of one of the items (QUAN_ID) to 'Select List (query based LOV)'. I've set the "LOV Query" attribute on this item to the following.
    select quan.answer_txt
    , quan.id
    from vug_question_answers quan
    , vug_survey_questions suqu
    where suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    --and    suqu.id = :suqu_id
    order by quan.question_answer_seq_no
    The purpose of this LOV is to return QUESTION_ANSWERS that have a foreign key to the SURVEY_QUESTIONS record identified by the sufu_id. The bind-variable ":p33_surv_id" is a page item. I THOUGHT the bind-variable ":suqu_id" (referenced in the commented-out line) would be the name of a column item in my report region. However, the LOV doesn't return correct values if I uncomment the line containing :SUQU_ID.
    How do I determine the name of the report region column item so that I can reference it within the LOV of another item in the same region?
    Thanks,
    -Ken

    Ivo,
    That's it!
    My original tabular form query read as follows.
    select rean.id,
    rean.resp_id,
    suqu.surv_id,
    suqu.question_txt,
    quan.suqu_id,
    rean.quan_id, --this is the column I was adding an LOV to
    rean.entered_by,
    rean.entered_on,
    rean.updated_by,
    rean.updated_on
    from vug_respondent_answers rean
    , vug_question_answers quan
    , vug_survey_questions suqu
    where rean.resp_id = :p33_resp_id
    and quan.id = rean.quan_id
    and suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    I've changed it to the following.
    select rean.id,
    rean.resp_id,
    suqu.surv_id,
    suqu.question_txt,
    quan.suqu_id,
    htmldb_item.select_list_from_query
    ( 6
    , rean.quan_id
    , 'select quan.answer_txt, quan.id from vug_question_answers quan, vug_survey_questions suqu where suqu.id = quan.suqu_id and suqu.surv_id = :p33_surv_id and suqu.id = '|| suqu.id ||' order by quan.question_answer_seq_no') quan_id,
    rean.entered_by,
    rean.entered_on,
    rean.updated_by,
    rean.updated_on
    from vug_respondent_answers rean
    , vug_question_answers quan
    , vug_survey_questions suqu
    where rean.resp_id = :p33_resp_id
    and quan.id = rean.quan_id
    and suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    My screen now looks as found at http://i3.tinypic.com/wgq4g9.jpg. (Note that I've also changed the question since a previous post.)

  • Show APEX Row Number in Report Region

    I would like to display the row number in the report region at the beginning of each row for each page (based on the number of rows to display per page).
    So if the number of rows per page is 15, I would want to show each row from 1 to 15. When going to the next page (16 - 31) I would like to show row 1 to 15 again next to each row.
    And if the number of rows per page is 20, I want to see row numbers 1 to 20 on each page.
    Since I believe an Update button only processes the current page, I would like to then use this row numbers (1 - 15) to get the values of the displayed column for each row to perform an insert to another table.

    You can use something like this:
    SELECT apex_item.text (1, '#ROWNUM#') row_num, empno, ename,
           deptno, comm, sal, mgr
      FROM empExample is here:
    http://apex.oracle.com/pls/apex/f?p=31517:284
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to create a inline message for report region...

    Hi,
    Can any one pls tell me the document link for to create a inline error message for report region?
    im trying to do a dynamic validation for report region.i've manually created a report region with apex item.
    im searching it for long time, im cant able to find any demos or example.
    Pls help.....
    Thanks in advance...

    Any help???

  • How to  show Blank values in Bex Report

    Hi friends ,
                       In my bex report one of the KF Column having zero's  and Blank values .
    Ex .   Mat     Price
              A         0
              B        
              C        15
                                    when i create a condition  Price > 0 
    Then the given Out put is    
                                            Mat     Price  
                                             C        15    
                                                                       but the required Out put is 
                                                                                                               Mat     Price
                                                                                                                B 
                                                                                                                C        15
    I.e  I have to Remove only zeros and i should show blank values. Could you pls give some Ideas on this .

    Hi friends thanks for response,
    but my requirement is
    Mat                 
    Price1
    Price2
    A
         0
    B
    12
    C
       15
    D
    0
    E
        8
    F
         0
    The Required  Out put should be
    Mat
    Price1
    Price2
    Price3 (1+2 )
    B
    12
    12
    C
    15
    15
    D
    0
    0
    E
    8
    8
    The user don't want see materials Price1 which  is Zero . So  I should remove materials A and F  in Price1 column .
    IF i apply condition on Price1 > 0  in the out put B and D also not displaying bcoz  blank values consider as Zero.
    Can you pls give some ideas how to full fill this Requirement

  • How to disable refresh button in webi reports in BOXI3.1SP2-Java SDK

    Hi all,
    We have integrated Java with BO, here end users will give parameters through java screen. After submitting all the parameters webi reports will opens in separate window.
    Here requirement is end users should pass the parameters from java screen and they should able to save the report in to excel/PDF.
    Refresh/edit buttons should disable/hide in the webi report.
    below is the sample url we are using in the java.
    http://" + CMS + ":8080/ OpenDocument/opendoc/openDocument.jsp?"+ "iDocID=" +ReportID + "&sType=wid&sRefresh=N&sWindow=New&lsSEnter List Name: =+List&token=" + token
    we tried with using &buttonrefresh=hide in above URL.
    Note: We are also having hyperlink reports in the Webi.
    Please provide me inputs to disable refresh button.
    Thanks,
    Subash

    Hi,
    why do not set this over the authorization scheme? Just deny your users the right to refresh/edit the report.
    Regards,
    Stratos

  • How to show total pages in a report

    Hi Experts,
    I have to show the pages in the formart current page/ Total pages. I am not able to claculate the total pages. Please help me and give the code.
    Thanks a lot.
    Krishan

    The code below shows how to display the total number of pages in a report like "Page 1 of 8."  However, it doesn't work if you execute the program as a background jobs.
    CODE
    " Declare a variable
    DATA L_PAGE_COUNT(5) TYPE C.
    "  Copy this code to the end of program
    "  Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.
    TOP-OF-PAGE.
        WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
    Refer : http://www.sap-basis-abap.com/sapab007.htm

Maybe you are looking for

  • Message delivery failure

    is anyone else getting an annoying message not delivered after every text?

  • Does anyone here use Eclipse with OSX

    I have recently graduated from a simple text editor and command line to trying to use an IDE, mostly because I'm using WSAD at work and want a similar environment at home. I've installed Eclipse 3.0, Tomcat 5.0.27 and the sysdeo tomcat plugin all on

  • Import/export volume to different administrative server

    Hi everyone, i'm testing the OSB software for DR environments. Now i want to export volume since main administrative server and import volume to different admin server. When I run export command, it shows me "Error: can't execute command - ran out of

  • Is Flash the best tool to ....

    I was just tasked with creating an online, interactive Getting Started tutorial for a software application. It will basically walk you through the windows to perform a typical setup, with some branching off for special cases. Essentially a main serie

  • Creating a windows Service for Weblogic 12c Domain hosting Apex 2.2 listener

    Hi Guys, Does anyone have experience of Weblogic 12c under windows? I have some difficulties to create a windows service for a domain. Here is the script to create the service: echo off SETLOCAL set DOMAIN_NAME=PMU set USERDOMAIN_HOME=C:\Oracle\Middl