Passing between date paramters to a different page in the application

Hi,
I'm woking on a drill down report in Apex 4.0.
Page1: (standard Report)
select transactiondate, storenumber, count(amount) as Count from transactions (transactiondate data type is DATE).
Created two items :P1_From_Date and :P1_To_Date
When i run the Page1 with the from_date and to_date given, reports populate the data for the particular date,(eg: 15-NOV-2011).
Until this point everything is fine.
In Page 2, I need to show the detail of every transactions for a particular store.
Created a hidden item in page 2 as :P2_storenumber
created a link on the Count column in Page1, select :P2-storenumber corresponding to the #COUNT#
Query on page 2 is : select transactiondate, storenumber,amount from transactions
here i want to get the transaction for a day (between 15-NOV-2011 00:00 and 15-NOV-2011 23:59 ).
How can I accomplish this requirement, by passing the date parameters from the Page1 for any date in Page2.
Please help.
thanks in advance.

Hi user13561710,
Assuming the items on page 1 are populated with date values, you can simply reference them in the query on page 2:
select transactiondate, storenumber,amount from transactions where storenumber = :P2_storenumber and transaction_date between :P1_from_date and :P1_to_date
If need be, you could always explicitly convert the date items to a date (and not rely upon the implicit conversion), for example:
select transactiondate, storenumber,amount from transactions where storenumber = :P2_storenumber and transaction_date between to_date(:P1_from_date,'DD-MON-RRRR') and to_date(:P1_to_date,'DD-MON-RRRR')
assuming the formart of the date value on page 1 is DD-MON-RRRR.
I hope this helps.
Joel

Similar Messages

  • Cannot swipe through different pages in the app store

    As stated above I cannot swipe through different pages in the app store. It shows the first 12 apps (out of 2000) their is no ability to swipe to see the other apps.
    I'm using an ipad 2 and I've tried resetting and completely erasing the ipad w/no luck

    Where on the screen are you swiping ? I can swipe on the screen where the apps are (either to the right or upwards depending upon the iOS version) and it then displays the next set of apps.

  • Can we add different pages in the jasper report

    Dear friends,
    Can anyone help out ,how to add different pages in the jasper report and also can i increase or decrease the textfield size dynamically,
    Thanks in advance
    Urgent

    http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=showcat&catid=8

  • HT2506 After I save my pdf document, the links to different pages within the pdf take me to the wrong page. How do I fix it?

    After I save my pdf document, the links to different pages within the pdf take me to the wrong page. How do I fix it?

    May you please elaborate... How are you creating the pdf documents (procedure, software, etc.)? How are you inserting links into your documents?... etc., etc.

  • Click button to direct to another page in the application

    Hi Everyone,
    Sorry for such a an easy question but I just cant find an answer. I have a landing page where my customers can select one of two different applications to use. I created two html buttons and would like the buttons to direct the customer to the correct page in the application when clicked.
    What is the syntax to do this? I t should be easy and I wonder if I am making it too difficult. Thanks.
    Derek

    Hi Derek
    http://your_server/pls/apex/f?p=100:1Would be the normal setup if you haven't changed anything where you wanted to go to application 100 and page 1.
    Cheers
    Ben

  • Open a new window when branching to another page in the application

    I have an existing Apex 4.2 application that uses buttons to direct users to other pages in the application
    The users want to be able to open a second ( or possibly) 3rd window or maybe a second tab
    Is there a way to code his?

    actually I spoke to soon
    the javascript example works
    I have a button
    under "ACTION WHEN BUTTON CLICKED"  I select 'redirect to url'
    then enter this: javascript: window.open('f?p=112:17:&SESSION.');
    and when I click on the button VOILA the page opens in a new window
    the problem is that the old page; the one that I was on, disappears. It becomes a blank page with " [object] '  displayed in the upper left hand corner,  nothing else on the page

  • Regarding Registration of OA Page in the Application

    Hi,
    When i registered the OA Page in the application i am getting the following error, can any one suggest me whats the actual problem.
    The steps which i followed for the registration of the page are:
    1. I Ftp'd the class files to the proper directory in the java top.
    2. I imported the page in the database. Also i got the page has been imported successfully.
    It is working in the Jdeveloper but it is giving the following error when i register the page.
    JBO-30003: The application pool (poweront-db.dmz.netapp.comWNAPPI10810netapps.oracle.apps.fnd.pc.server.NetAppsProjCreationAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition netapps.oracle.apps.fnd.pc.server.NetAppsProjCreationAM of type ApplicationModule not found
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1610)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2357)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:427)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:214)
         at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:473)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1166)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._RF._jspService(_RF.java:100)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:536)
    Please do the needful, its very urgent.
    Thanks
    Raja.

    Hi Srinath,
    As you mentioned, i am copying the #Detail 0# of exception stack trace. Please check it.
    ## Detail 0 ## JBO-30003: The application pool (poweront-db.dmz.netapp.comWNAPPI10810netapps.oracle.apps.fnd.pc.server.NetAppsProjCreationAM) failed to checkout an application module due to the following exception: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition netapps.oracle.apps.fnd.pc.server.NetAppsProjCreationAM of type ApplicationModule not found at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1610) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2357) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:427) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:214) at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:473) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398) at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208) at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1166) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418) at oa_html._OA._jspService(_OA.java:86) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259) at oracle.jsp.JspServlet.internalService(JspServlet.java:178) at oracle.jsp.JspServlet.service(JspServlet.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162) at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175) at oa_html._RF._jspService(_RF.java:100) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259) at oracle.jsp.JspServlet.internalService(JspServlet.java:178) at oracle.jsp.JspServlet.service(JspServlet.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:536)
    Thanks,
    Raja.

  • Making a page the first page od the application

    Hello,
    I want to make a page, the first page of the application which shown before the login page ( page 101) how can I do that??

    Always include the following information when asking a question:
    <ul>
    <li>Full APEX version</li>
    <li>Full DB/version/edition/host OS</li>
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)</li>
    <li>Browser(s) and version(s) used</li>
    <li>Theme</li>
    <li>Template(s)</li>
    <li>Region/item type(s)</li>
    </ul>
    TomTom101 wrote:
    Hello,
    I want to make a page, the first page of the application which shown before the login page ( page 101) how can I do that??Create a page if you already don't have.
    Go to shared components > Security attributes > amend the home link to add your page number
    //replace <<PAGE_NO>> with your page number
    f?p=&APP_ID.:<<PAGE_NO>>:&SESSION.

  • I have Iphone 4, version 4.3.3 (8J2) How can i remove the brightness toolbar from the main page, below the applications above the shorcuts?

    I have Iphone 4, version 4.3.3 (8J2) How can i remove the brightness toolbar from the main page, below the applications above the shorcuts?

    There is no brightness toolbar unless your iPhone is jailbroken.  If so, you can try to restore to remove the JB.
    The only place brightness exists is under Settings.

  • Creating an index of all pages in the application?

    Is there anyway I can create a page in my app that displays a dynamic index (list) of all pages in the application? Sort of like a table of contents that automatically updates if I create a new page?
    Thanks!
    BoilerUP

    BoilerUp,
    The page comment is the last region on the page definition page. Just select a page, click the icon to edit and then click the Comments 'button' on the far right and it will focus you on that region.
    As to why it is not working, what version of APEX are you using? There have been some changes to the views from their debut in 2.2 to 3.0. You should perfect your query using SQL Commands in the SQL Workshop and then can paste it into a report region. If you are using 3.0, you can also use the APEX Views utility under the Utilities tab.
    -- Sharon

  • How to put a footer text in every page of the application

    How to put footer text in every page of the application without putting it page by page.
    Thanks.
    Jen

    Patick,
    Thanks for your reply.
    I still don't know how to do it.
    1. Have a look at the documentation for Page 0.
    There is no Page 0 in my application
    2. You can add your custom stuff to your page templates.
    Could you give me more detail on this?
    Thanks,
    Jen

  • Reference Assembly targets a different processor than the application

    I am using the oracle provider to access oracle XE database within my visual studio 2005 VB project. I am getting this warning after compiling the application "Reference Assembly Oracle.DataAccess.dll targets a different processor than the application". I am using winxp and I set the Target CPU in the compile option of my project to anyCPU. Though this is just a warning but is there a way to resolve what the issue is.
    Thanks
    Bunmi

    I had this and changed the platform target in VS to x86 and the warning disappeared. I think it's because the Oracle.DataAccess.dll is targetted specifically for the x86 platform.

  • Change Start-Page for the Application

    Hallo,
    how can I change the Start-Page for the Application ?
    Thanks
    I. Schult transcoject Neumünster

    Another action you can take is to change the page ID in the p_flow_page argument to the wwv_flow_custom_auth_std.login call in the login process on the login page (if you have one), e.g., change P_FLOW_PAGE => :APP_ID||':1' to FLOWPAGE => :APP_ID||':99' to change the 'after login' page from 1 to 99. This will be the page (in the current application) redirected to after authentication, absent a deep link.
    The home link application attribute has limited use, e.g., for determining which page to show when you use the Run Application icon in the builder.
    Scott

  • Oracle.DataAccess.dll targets a different processor than the application

    I need help to solve the error message for Referenced assembly 'bin\Oracle.DataAccess.dll' targets a different processor than the application
    I have try two different verison 11 and 10 has the samething
    Anyone know what causeing this problem?

    I had this and changed the platform target in VS to x86 and the warning disappeared. I think it's because the Oracle.DataAccess.dll is targetted specifically for the x86 platform.

  • Passing parameters between form portlets on two different pages ...

    Here is a brief summary of our problem.
    We have one master form and a detail form which are published as portlets and placed in two different pages.
    Now i want to pass parameters from master form portlet resides on one page to detail form portlet resides on another page.
    Say for example, when i invoke master form (created based on demo DEPT table), enter values on fields then invoke another page
    on which the second form portlet (say form based on EMP demo table) resides. Now i want to pass deptno to second form and
    get displayed in deptno field of second form.
    I was looking at the following posting, but how to do this when forms are published as portlets and placed on two different pages ?
    http://forums.oracle.com/forums/message.jsp?id=997683
    Customer actually want to pass a parameter from master form to 5 detail form portlets resides on different pages.
    This is bit urgent as it is the only problem stopping the customer go live.
    Thanks in advance.

    Please refer to post Re: session state security
    It tells you how to populate a form portlet in a page by clicking on a link in a report portlet.
    You can use the wwsto_api_session objects to store data submitted by the master and let the detail form pick it up and proceed with the query.

Maybe you are looking for

  • Acrobat X portfolio not working

    I have Adobe Acrobat X pro installed on my computer at work. After the last update I can no longer create portfolios. Whenever I try to create one I get a message asking me to install the flash player that supports this version. Currently I have Flas

  • Best Way to Export Tracks

    Hello, What is the easiest way to export tracks so I can bring into another program (that doesn't have OMF capability). I don't want to have to do a process that takes alot of time. Any ideas wiould be appreciated. Regards, Rich

  • Generic delta for master data table MEAN

    Hello all, How should the settings for my generic data source look? It's masterdata attributes and I'd like it to be delta compatible. The basis for the data source is table MEAN in R/3. Could someone please specify the settings that should be applie

  • Siemens Westinghouse Engineering Opening - Position in Orlando, Florida

    Job Opening for Instrumentation/Testing Engineer At Siemens Power Corp, I have an opening in my Testing and Instrumentation Department. The responsibility of my collective staff of 25 is to support all testing needs for our internal customers. This t

  • Document-based web services - WebLogic 8.1

    Hi all,<br> I'm exposing a stateless session bean method as a web service. The in/out parameters are XML documents so my method signature looks as follows: <br><br> public Document collectMessages( Document request ) <br><br> Accordingly I want to us