How to display calendar in prompts

Is there any way we can show calendar in date prompt? So that user can select any date from calendar.

Thanks. I saw in Dashboard prompt.
But I could not understand datetime/date in rpd. Could you please explain more in detail if you do not mind?
By the way how to use dashboard prompt in answer?
I follow below step:
- Create Dashboard prompt
- Select Calendar from Control Option
- Set variable to Presentation variable and name it 'date_prompt'
- Save it.
Then I create a report. I click filter icon then Add=> Variable=> Presentation. I had wrote 'date_prompt' on Variable Expr. But it is not prompting any thing....

Similar Messages

  • How to display calendar

    So I've been working on this problem but i am stuck in the formating of the days integers for each calendar month
    here is the problem
    Displaying calendars (filename: DisplayCalendars.java)
    Design an algorithm and then write a Java program that prompts the user to enter the year and first day of the year, and displays the calendar table for the year on the console. For example, if the user entered the year 2005, and 6 for Saturday, January 1, 2005, your program should display the calendar for the 12 months in the year, as follows:
    January  2005
    Sun     Mon     Tue     Wed     Thu     Fri     Sat
    1     
    2      3      4      5      6      7      8     
    9      10     11     12     13     14     15     
    16     17     18     19     20     21     22     
    23     24     25     26     27     28     29     
    30     31     
    February  2005
    Sun     Mon     Tue     Wed     Thu     Fri     Sat
    1      2      3      4      5     
    6      7      8      9      10     11     12     
    13     14     15     16     17     18     19     
    20     21     22     23     24     25     26     
    27     28     Can anyone please help me
    I need to display this on the console (ie.system.out.print...)

    ok
    here is my code:
    *This program determines the number of days in any month for any year (including leap years) and displays the
    *result in a dialog box.
    import java.util.Scanner;
    public class DisplayCalendars
         //main method:
         public static void main(String[] args)
              //Create a new scanner to get the numbers
            Scanner scanner = new Scanner(System.in);
            //Enter an integer representing the first day of year
              System.out.print("Enter an integer 0-6, for the first day of the year: ");
              int day = scanner.nextInt();
              //Enter an integer representing the year
              System.out.print("Enter an integer representing the year: ");
              int year = scanner.nextInt();
            String sString = " ";
            int Days = 0;
                 //Initialize the S string for naming months of the year
                   String dString = " ";
                String mString = " ";
        switch (day)
                   case 0:  dString = "Sunday"; mString = "January";
                        break;
                   case 1: dString = "Monday"; mString = "January";
                        break;
                   case 2: dString = "Tuesday"; mString = "January";
                        break;
                   case 3: dString = "Wednsday"; mString = "January";
                        break;
                   case 4: dString = "Thursday"; mString = "January";
                        break;
                   case 5: dString = "Friday"; mString = "January";
                        break;
                   case 6: dString = "Saturday"; mString = "January";
                        break;
                   default: System.out.println("Errors: invalid number");
                        System.exit(0);
              //for each of the 12 months
            int month;
            for(month = 1 ; month <= 12 ; month++)
                switch (month)
                   case 3: Days = 31; sString = "March";
                        break;
                   case 4: Days = 30;  sString = "April";
                        break;
                   case 5: Days = 31;  sString = "May";
                        break;
                   case 6: Days = 30;  sString = "June";
                        break;
                   case 7: Days = 31; sString = "July";
                        break;
                   case 8: Days = 31; sString  = "August";
                        break;
                   case 9: Days = 30; sString = "April";
                        break;
                   case 10: Days = 31; sString = "September";
                        break;
                   case 11: Days = 30;  sString = "October";
                        break;
                   case 12: Days = 31;  sString = "November";
                        break;
                   case 1: Days = 31;  sString = "January";
                        break;
                   case 2: if (((year % 4 == 0) && (year % 100 != 0))
                        || (year % 400 == 0))
                        Days = 29;  sString = "February";
                   else {
                        Days = 28;  sString = "February";
                        break;
                   default: System.out.println("Errors: invalid number");
                        System.exit(0);
               System.out.println("\n\n\t\t\t\t\t\t" + sString + "\t" + year);
                System.out.println("_________________________________________________________________\n");
                System.out.printf("%10s%10s%10s%14s%12s%10s%13s\n", "Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday\n");
         for (int i=1; i<=day; i++) {
              System.out.print("");
              if (month<=12)
              for (int B=1; B<=Days; B++)
              System.out.print(B);
    }The formatting issue that I have is it has to do with lining up the numbers to the days.

  • How to display calendar in web part with selected month(jan,feb,march) in sharepoint 2013

    Hi All,
    How to display selected Month like jan,feb,march in single page with different webparts.
    I created 3 webparts and selected(jan,feb,march) but when page refreshes all webparts are displaying current month(December).
    Here i attached the screen shot, where December should be shown as (January and February)
    Kindly check and guide me in right track.
    Thanks
    Prabhat.
    Madhu Prabhat

    Hi,                                                             
    To develop a custom web part, you can take a look at the links below with steps in detail for a start:
    Creating Web Parts for SharePoint
    http://msdn.microsoft.com/en-us/library/ee231579.aspx
    Sharepoint 2013 Create a Visual Web Part
    http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
    Another three links for your reference:
    http://www.learningsharepoint.com/2012/12/24/how-to-create-a-custom-webpart-in-sharepoint-2013/?goback=%2Egde_3911588_member_198759022#%21
    http://www.youtube.com/watch?v=9iK8IPUB87w
    http://sptechbytes.blogspot.com/2013/10/sharepoint-2013-creating-visual-webpart_26.html
    Here are some samples of custom calendar web part for your reference:
    http://www.codeproject.com/Articles/108676/SharePoint-Custom-Calendar
    http://gunnarpeipman.com/2009/01/creating-sharepoint-global-calendar/
    https://blog.metrostarsystems.com/2013/10/21/creating-a-custom-sharepoint-calendar-rollup/
    You can also do more customization by adding your own logic in it.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to display Calendar view without having to select date

    Hi there,
    I would like to know can I display Calendar view without having user to select date first.
    And also, how do I highlight the date in calendar view for example, to show that i have set a reminder on that date?
    I have searched many threads before, but I could not get the final answer.

    Hi,
    Is there a way to display a full calendar popup with time stamp so the users can pick the timestamp from the popup?Date Picker doesn't have this feature. You can use Javascript to achieve the same. But at same time it's highly unrecommended to use javascript with OAF pages.
    Regards,
    Gyan

  • How to display Date Calendar in Oracle BI Answers Prompts (parameter)

    I'm still new to OBIEE.
    How to display Date Calendar in Oracle BI Answers Prompts (parameter)?
    Thanks.

    Hi,
    While creating Dash Board prompt choose the control to 'Calendar'.
    I think it is not possible to provide 'Calendar' control using Prompts tab while creating request.
    It is possible to write Java Script for a Column of data type 'char'. So, cast the date data type to char.
    Go to: Column Properties --> Data Format
    Choose override default data format to view the available options in the drop down list.
    I would be very happy if anybody acknowledge me that I am wrong.
    -Vency

  • How to display two calendars in a page

    Hi,
    I use Calendar wizard to display calendar in HTML DB. I am not able to display more than one calendar. Any help is highly appreciated.
    Thanks,
    Sathya.

    i) goto WIZARD tab after choosing your application.
    ii) In the WIZARD tab, click on calendar and give the inputs required. Try to create one more calendar on the same page once you have created your first one.
    iii) My HTML DB version is 1.5
    In addition, It would be great if you can tell me how to fill up colors in the cells, once you are able to create the calendar.
    Thanks.

  • HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input

    Hi,
    HOW DO I CHANGE THE FONT OF "Message to Display" IN THE  Prompt User for Input?
    Thanks for your help 
    XN 

    Right click and select Open front panel >> Convert.
    Change the vi as you need. then you can save it as a normal sub-vi.
    If you have Labview 8.6, maybe (i am not sure) you can edit the express vi. Express vis are supported in 8.6

  • How to display the current date in the prompt value.

    Hi,
    How to display the current date in the prompt value. When the user runs the query he want the current date to be displayed in the prompt value and he should also be able to change the date if required ...... I am using web Intellegency BO XI3.0.
    Thanks,
    Shakthi.

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • How to display Prompt values in Narrative

    Using 11.1.1.6.2
    Within a dashboard page I have a table with a dimension hierarchy for organization. If you click a division it runs an action link to call a browser script (javascript in a text section on the dashboard) passing the division. If you expand the division and click a market it calls the same javascript function.
    The Javascript function then uses Go Path to refresh an analysis within an iFrame on the dashboard page and passes either the Division value or the Market value.
    The target analysis has two filters: Division is prompted and Market is prompted.
    So after all that my question is how could I display the two passed values from the Go Path call in a narrative on the target analysis? Or I guess the alternative question is how to display the filter values on the narrative.
    Sorry for the long explanation, but hopefully this makes sense.
    Thanks for any help or suggestions.
    Brad

    Use @n to include the results from the designated column in the narrative. For example, @1 inserts the results from the first column
    Assuming you want to show the selected value for Division from prompt.
    Add Division column in the report criteria and call it @1, where 1 is position of Division column
    You may hide the Division column from report, if you dont have to show in the report
    Edited by: Srini VEERAVALLI on Feb 7, 2013 3:22 PM

  • How to Display Two Months in Sharepoint Calendar

     
    1. I have SharePoint Server. Do I need other software to the make the following change in Calendar?
    2. How to hide Saturday and Sunday or move Sunday to the first day. (Sunday is the last day in my current calendar. )
    3. How to display two months on one page?
    Thanks.

    Hello,
    For those still looking, you should ask on the
    SharePoint forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • How to make calendar automatically display special events

    hi, i wanted to make my calendar automatic display the events in a specific month. should i use ifelse statement or switch case statement? my web site have display calendar for the current month. it aotumatically update. now i wanted to highlight the special event on that month like New Year, Christmas etc. it automatically change the event according to the month. when it comes to May, it won't display April event but May event such as Labour Day. this is the example, what i wanted it to be is the event date changes according to the month.
    <html>
    <head>
    <title>Brunsfield e-Homes</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="home.css">
    <style type="text/css">
    .main {
    width:130px;
    border:0px solid #8D549B;
    border-collapse:collapse;
    .month {
    background-color:#8D549B;
    font:bold 11px arial;
    color:white;
    border-collapse:collapse;
    border:0px solid #8D549B;
    .daysofweek {
    background-color:#C78FB9;
    font:bold 9px arial;
    color:#000000;
    border-collapse:collapse;
    border:0px solid #8D549B;
    .days {
    font-size: 9px;
    font-family:arial;
    color:black;
    background-color: #FADBF2;
    padding: 1px;
    border-collapse:collapse;
    border:0px solid #8D549B;
    .days #today{
    font-weight: bold;
    color: #cc0000;
    border-collapse:collapse;
    border:0px solid #8D549B;
    </style>
    <script type="text/javascript" src="basiccalendar.js">
    * Basic Calendar-By Brian Gosselin at http://scriptasylum.com/bgaudiodr/
    * Script featured on Dynamic Drive (http://www.dynamicdrive.com)
    * This notice must stay intact for use
    * Visit http://www.dynamicdrive.com/ for full source code
    </script>
    </head>
    <body bgcolor="#FFFFFF" leftmargin="5" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false">
    <!-- ImageReady Slices (home.psd) -->
    <div style="position:absolute; left:0; top:64">
    <table>
    <td width="140" align="center" valign="top">
         <font size="1">eCalender</font>     
         <script type="text/javascript">
         var todaydate=new Date()
         var curmonth=todaydate.getMonth()+1 //get current month (1-12)
         var curyear=todaydate.getFullYear() //get current year                         
         document.write(buildCal(curmonth ,curyear, "main", "month", "daysofweek", "days", 1));
    </script>
    </td>
    </table>
    <table width="130" align="center" border="0" bgcolor="#FDC2D6">
    <tr>
         <td class="events" width="20" align="center">1</td>
         <td class="events" align="left">April Fools Day</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center">4</td>
         <td class="events" align="left">Ching Ming Festival</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center" valign="top">8</td>
         <td class="events" align="left">Birthday of Sultan Johor</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center">9</td>
         <td class="events" align="left">Good Friday</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center">11</td>
         <td class="events" align="left">Easter Sunday</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center" valign="top">19</td>
         <td class="events" align="left">Birthday of Sultan Perak</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center">22</td>
         <td class="events" align="left">Earth Day</td>
         </tr>
         <tr>
         <td class="events" width="20" align="center">25</td>
         <td class="events" align="left">Secretary Day</td>
         </tr>
    </table>     
    </body>
    </html>

    http://www.dotjonline.com/main/index.jsp?url=/taglib/calendar/calendarFixed.jsp

  • Calendar date prompts

    I am on 11.1.1.5. I am creating two calendar date prompts begin date and end date for an analysis. I want to be able to generate some kind error message or warning if the user tries to enter a date smaller than begin date in end date prompt. How can I do this?

    @Amith, no the link would not accurately satisfy the OP's need. What if the user chooses a valid date (i.e., in the allowable date range), but the report produces no records? The customized "No Results" message, would say, "Please choose a valid date value" and would be incorrect.
    user12301184 wrote:
    I am on 11.1.1.5. I am creating two calendar date prompts begin date and end date for an analysis. I want to be able to generate some kind error message or warning if the user tries to enter a date smaller than begin date in end date prompt. How can I do this?@user12301184, what you need to do is this:
    1) Create a small report that returns rows if the dates selected in the dashboard prompts are in the valid range, and does not return rows if the dates chosen are outside the range.
    2) In the dashboard, move a Section to the workspace and put your main report there. Click on Section>Properties>Guided Navigation and have OBIEE point to the small report created in step 1 with the radio button "Display when report returns rows" checked off.
    3) Move another Section to the workspace and put a Text object in the Section. Click Section>Properties>Guided Navigation and point to the same report, but this time choose "Dispay if the report returns no rows."
    4) Now in the Text object, put your customized message, "Please choose a valid date range."
    5) Finally, in the report itself, you can customize your "No Results" view to say, "There are no records to display for the date range selected."
    To summarize, according to the OP's criteria, there are two reasons why the report wouldn't show rows: one, specifically because of the invalid date range; and two -- not explicitly stated, but true nonetheless -- when the report itself produces no rows even though the date range is valid.
    My solution takes into account both scenarios. It doesn't give a potential wrong error message like so many applications do when the scenarios are not thought out completely.

  • 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

  • To Display "Calendar Month/Year" at report level from Calendar Day

    Hello Friends,
    I have a scenario in which I have 0CALDAY (e.g. 01.01.2009) along with other fields available in my report. My requirement is to display "Calendar Month/Year" (e.g. 01.2009) in my report.
    Is it possible to have "Calendar Month/Year" in my report from 0CALDAY, by making changes to the query, as I cannot remodel the underlying InfoCube?
    Many Thanks,
    VishwA

    HI Vishwa,
    Hope it will helps.
    How to get month from CREATE DATE field??
    Regards,
    SVS

  • Displaying Answers Date Prompts in Title of Report

    I come from a BO background and we are now implementing OBIEE into our environment. My question revolves around the display of dashboard prompt values in the Answers report title.
    I have a Dashboard Prompt built that uses the expression 'DateColumn' between - user inputs their two values using the Calendar control.
    Is there anyway with this scenario to display what the user chooses in the Answers report title? In the Answers criteria I have set the criteria for the 'DateColumn' to be prompted.
    I see you can assign some of the Dashboard prompts to variables, however, you can't do it when you using the Between logic or the Greater than logic.
    I look forward to any input and thank you so much in advance!

    I presume you are aware of the filters view that shows you all the filters applied to the report, but you want the parameters in the title and no where else.
    The other option is not simple. You could make your Dashboard prompts as equalities, and then you could save the parameters to Presentation Variables and pass the parameters to a nested report inside a narrative iframe where you construct the real query. An excellent example of this is Venkatakrishnan's blog in the URL below:
    http://oraclebizint.wordpress.com/2008/02/19/oracle-bi-ee-101332-passing-operators-in-dashboard-prompts-go-url-and-presentation-variables/
    You may check out the section "Oracle BI Presentation Services Go URL to Issue SQL and Pass Filters" in the Presentation Services Administration Guide for more information.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31766.pdf
    HTH,
    Nilanshu

Maybe you are looking for

  • Poor Customer Service

    I am shocked at the level of poor customer service I get from Adobe sales reps on a consistent basis. It is as if Adobe assumes their products are without peer - so the sales team can take its customers for granted. I recently subscribed to the $19.9

  • Is there a way to upgrade a mid 2009 13" Macbook Pro so that it can use a wireless n network?

    I have a mid 2009 13" macbook pro, and I live in a share house. The router we are using is very far away from my room and I do not get very good signal strength. However, my phone and ipad, which are newer, and have wireless n capability, are able to

  • Multiple Email Accounts Don't Seem Possible. Yet Mail Help Says It is!

    Hi, If you go to the Mail help menu and type in "multiple", the result shows that you can enter multiple email address into an account during setup, separated by commas. Great if you have several emails under the same domain ([email protected], [emai

  • Streaming Video in Remote Panel

    Desired Functionality:  Our laboratory uses LabVIEW 2011 to make science instrumentation such as digital microscopes, spectrometers, etc., available to college students to do remote laboratory assignments.  We need to be able to choose a live video s

  • JDBC to Proxy

    HI friends, can you please explain me the steps like JDBC synchronous to Proxy synchronous steps ? or JDBC synchronous to RFc syn steps using BPM ? vasu