How to Generate a report based on a drop-down list?

Good Afternoon,
I am looking for a way to create a drop down list/select list with the values '2008' and '2009'. Based on the value selected in the list, data will be displayed from a table.
In the table, there is January to December for 2008 and January to December of 2009. So when selecting '2008', I would like January to December 2008 to be displayed.
Thank you.

Hi,
Create a static LOV with the following source:
STATIC:2008,2009
Assuming your LOV is named P1_LOV your report SQL would look something like:SELECT * FROM TABLE WHERE DATE LIKE '%' || :P1_LOV || '%'

Similar Messages

  • How to generate a report based on account description

    Hi Experts,
    How to generate the report based on account description, that means
    i want to generate a report on G/L account and which account numbers are having 'CASH' description.
    for Ex: G/L a/c no: 25010026-Cash and Bank balance(des)
    G/L a/c no: 101000-Cash-freight
    like this.
    please help to do this,
    good answer will be appreciated with points,
    Thanks in advance
    Venkat

    Hi shana,
    my requirement is
    I have G/L account numbers, that account numbers having some descriptions, in these some descriptions are belongs to cash transactions, i want to generate the report on these cash transactions, and the report is " G/L account, debit cash, credit cash, balance".
    is it possible or not,
    thanks in advance,
    Venkat

  • I have Maveriks. I downloaded numerous ACID Fonts and purchased Stuffit as instructed by ACID Fonts in order to use them. However, now I am unable to figure out how to get them into my Font Family drop down list or insert into Pages. PLS HELP!

    I have Maveriks. I downloaded numerous ACID Fonts and purchased Stuffit as instructed by ACID Fonts in order to use them. However, now I am unable to figure out how to get them into my Font Family drop down list or insert into Pages. PLS HELP!

    Hi FancyJean!
    Here is an article for you about using Font Book and installing fonts that you have downloaded:
    Mac Basics: Font Book
    http://support.apple.com/kb/ht2509
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • How to set a default value for a drop down list box and then apply cascading based on the default value in Infopath 2010.

    Hello Everyone
    I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
    where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
    Thanks
    Ramanjulu Naidu N

    Hey Ramanjulu,
    Take a look at the below article which I believe will answer your question.
    http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
    Daniel Christian (MCTS)

  • How to display Current Year and Month in Drop Down list

    Hi Dear friends,
    I am devloping a report. It has got 2 pages--input and output(Report) page.
    IN input page, user will select Month and Year from drop down list as one of the input parameters. (seperate drop down list 4 month and year)
    Now, my problem is:
    HOw to display current month and year by default in the dropdown list...........
    I hope my question is clear.
    Please help.
    Regards,
    ASh

    NO da,
    it is not working.
    First i tired with for-loop. I initialized variable "i" to -2 (i=-2) I would get the year drop down list from 2003 but, by default 2003 would come.
    So, i posted the question.
    I tried your code. It is giving following error.
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occured between lines: 122 and 127 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:182: Invalid type expression.
    first.set(Calendar.YEAR, 2003)
    ^
    An error occured between lines: 127 and 131 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:186: Invalid declaration.
    out.write("\r\n \r\nYear : \r\n \r\n"); ^ An error occured between lines: 198 and 203 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:282: Invalid type expression. first1.set(Calendar.YEAR, 2003) ^ An error occured between lines: 203 and 207 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:286: Invalid declaration. out.write("\r\n \r\nYear :\r\n \r\n");
    ^
    4 errors
    Pls. Help.
    Regards,
    Ashu

  • Create a secondary calculation in a repeating subform based on a drop-down list?

    Hi all,
    I need a crazy bit of scripting. Not sure it's even possible.
              What I have:
    repeating subform SummarySub with dollar amountcalculation field at end of form TotalOver gives total dollar amount from all iterations of SummarySub
    so far, so simple. but then:
    I need another, repeating subform SubRow at the end of the form to give another total:
    based on Payer Name drop-down list in SummarySub
    and break out totals from all iterations of SummarySub based on payer names as chosen by the user.
    Ideally, the subform (B) (Payer Totals) at the end of the form would add instances as the user exits the Payer Name field. I haven't been able to figure out how to do that and keep the value in the (Payer Name) field of the added instance.
    Does any of this make sense?
    I'll appreciate any help.  I'm trying to learn more about JavaScript in LC, but my deadlines just keep coming....
    Many thanks
    Laura
    Dropbox - AFBS_OverpaymentReport_121914.pdf

    Hi Laura,
    You are right with the need for the nested for loop, If add this code to the calculation event.
        var nTotalRemitted = 0;
        var oAmountsRemitted = item.resolveNodes("SubRowtwo[*]");
        var nRemittedLength = item._SubRowtwo.count;
        for (nRemittedCount = 0; nRemittedCount < nRemittedLength; nRemittedCount++)
            var oRemittedItem = oAmountsRemitted.item(nRemittedCount);
            var nAmountRemitted = parseFloat(oRemittedItem.AmountRemitted.rawValue);
            if (!isNaN(nAmountRemitted))
                nTotalRemitted += parseFloat(oRemittedItem.AmountRemitted.rawValue);
    see the sample https://sites.google.com/site/livecycledesignercookbooks/home/AFBS_PTM_bruce%20script_TEST .pdf?attredirects=0&d=1
    There are some comments in the sample explaining some of the code
    Regards
    Bruce

  • How can I change the order in the drop down list of the teamviewer

    HI all
    If I can change the order in the drop down list of the teamviewer?
    example the default is "Direct Reports",I want to change it to the "Employees in Organizational Structure".
    Best Regards

    Cui,
    It is based on OADP. goto SPRo - Integration with other mySAP.com components - business packages/functional packages- manager self services()-Object and data provider-
    Thanks
    Bala Duvvuri

  • How do I select a item from a drop down list on a web in Safari On An. IPad 2.  The list apears and disapears só QuickClips I cannot TAP anything On The list Quickly enough.

    I tried to select an item from a drop down list on a web page in safari and discovered that the list disapeared to quickly for me to make a selection.  Has anyone else found this and solved the problem.  Many thanks.

    Demo wrote:
    I tried it on my iPad and I see what you mean. From what I can see when I go to the site on my Mac, it is Flash based and that will not work anyway.
    Actually, it is Javascript and uses the 'onmouseover' event.

  • How to populate active directory users in to drop down list items dynamically in Share point 2010 ?

    Hi My self Arun in my current project i have a task on that active directory user  need to automatically populate in share point list drop down  please help me.  is that any out of box feature in share point 2010 ?   
    Thanking You 
    Arun 

    Arun,
    If you plan to implement the "Querying the Active Directory" based on my code snippet,
    and if you do not have permission [your account must be the part of domain admin] to do so,
    Then still you can do it in least effort through code,
    string usersInXml = SPContext.Current.Web.AllUsers.Xml;your xml string look like this.
    <Users><User ID="2" Sid="" Name="Administrator"
    LoginName="i:0#.w|murugesan\administrator" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1" Sid="" Name="Murugesa Pandian" LoginName="i:0#.w|murugesan\murugesan" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1073741823" Sid="S-1-0-0" Name="System Account" LoginName="SHAREPOINT\system" Email="" Notes="" IsSiteAdmin="False" IsDomainGroup="False" Flags="0" /></Users>
    You can user Linq to XML to filter the "LoginName,Name and Email and then populate your drop down list.
    * User must be logged into the site at least once.
    Murugesa Pandian.,MCTS|App.Devleopment|Configure

  • How to populate both key and text in drop down list in dialog prog screen

    Hi, Can anyone please advice how to display both key and text in the drop down list in dialog prog screen. I tried with below code. keys and texts are getting populated in values table but only text is appearing when click on drop down. need to display both key and text in the drop down. Thanks in advance.
    TABLES: ZRPP_MODELS, ZRPP_FFLSTRATEGY.
    TYPE-POOLS : VRM.
    DATA : field_id TYPE VRM_ID ,
           values   TYPE VRM_VALUES,
           value    LIKE LINE OF values.
    FORM fill_model_list .
      select MODEL MODEL_DESC from ZRPP_MODELS into value.
        APPEND value TO VALUES.
      endselect.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = 'ZRPP_MODELS-MODEL'
          values = values.
    ENDFORM.

    You need to concatenate KEY & VALUES
      wa_values-key = '1'.
      wa_values-text = '1 - One'.
      append wa_values to i_values.
      wa_values-key = '2'.
      wa_values-text = '2 - Two'.
      append wa_values to i_values.
      wa_values-key = '3'.
      wa_values-text = '3 - Three'.
      append wa_values to i_values.
      call function 'VRM_SET_VALUES'
        exporting
          id              = 'LIST_BOX'
          values          = i_values
        exceptions
          id_illegal_name = 1
          others          = 2.

  • Pull New Report under Contract Management Drop-down list

    Hi Experts ,
    We have a requirement to create a new Report and pull into the drop-down list of Contract Management . I have created a new report , but guide me with steps to pull the report to the Drop-down list .
    Regards,
    Tayi

    Hi Tayi,
    If you have done everything as you mentioned above then there is no reason that the query/report should not show up in the drop-down.
    You might need to log-off and login again to see the changes you made.
    Apart from that I don't see any particular reason why the system should behave differently.
    Do let us know if you are able to arrive at your solution in some other way.
    Thanks
    Devesh

  • Using a iPad.  How do you delete unwanted address from the drop down list.  I typed in a wrong address once, and now it keeps showing up.

    Using a iPad.  How do you delete unwanted address from the mail drop down list.  I typed in a wrong address once, and now it keeps showing up.

    Winfax1-
    Look in your Contacts App and see if the unwanted address is entered there.  If it is, you can delete it there.
    Fred

  • How do I modify the contents of the drop down list of sites in the navigation toolbar?

    The navigation toolbar has a drop down icon, and when I click on it, I get a list of 10 or so web sites. These appear to be the first 10 sites that I visited since my history was last cleared. I would like these instead to be sites that I often visit, and would like to update the list periodically. I cannot find any way to modify this list of sites.

    Remove those sites from the history. That drop down list is based on bonus points that are added if you visit a link.
    * https://support.mozilla.com/kb/Clearing+Location+bar+history
    * https://support.mozilla.com/kb/Cannot+clear+Location+bar+history

  • How to Generate a Report Based on User's Parameters from Web Site

    Hi, all,
    I am trying to use Oracle Developer 6.0 Report Builder to generate report based on what user types in from the web site. Since I am a novice, I am wondering if anybody would help me with the following questions:
    1. How can I create a report based on user's parameters?
    Assuming that I have 2 text fields EMPNO and DEPT on the web site, after user types in some value, how can I pass these parameters into my query, can I do something like:
    select ENAME, JOB, EADDRESS from EMP
    where EMPNO =
    some_reference_of_parameters_from_user
    or is there any other way to achieve this functionality?
    2. How can I pass a PDF format report back to user after the report is generated?
    Any help is greately appreciated!!
    Best regards.
    Judy

    Hello,
    In the Report Builder, create two user parameters, and set the parameter name, datatype, width, and default values to what you want. Modify the query and put in a where clause (e.g., where deptno = :p_deptno). When you request the report with PARAMFORM=YES on the URL, it'll generate a default parameter form in HTML and allow the user to enter in the selected parameter values. Also set DESTYPE=CACHE&DESFORMAT=PDF on the URL to get the output back as PDF.
    If you upgrade to Reports 6i, you can customize the default HTML parameter form.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to add Check box to a static Drop down list (bases on a selection list) and allow mulity select in it?

    Dear All,
    I created a text field in my project (Light switch 201, C#), this text field has a static list which I filled manually. when I click in this text box I get a dropp down list which allow me to chose only one value from it.
    Now what I want to do is to add a check box in this drop down list and allow mulity selection from this list. My list looks as follow:
    Can anyone help me :) ? 
    Thanks all,
    Zayed

    Something like this:
    http://www.codeproject.com/Tips/452756/Add-checkbox-inside-combobox-in-Silverlight

Maybe you are looking for