Date Picker - only allow future dates?

Does anyone know of a way to control the date picker to only allow the selection of future dates? I would like to force my users to use the date picker, but will need to shade out or grey-out dates less than sysdate+3. This will be used for scheduling payments in the future and should not allow a user to pick a past date or a date within two future days of the current date.
Thanks in advance for your help,
Todd

Vikas,
I have followed the instructions on that page, but I'm a little unsure about one step. The instructions say, In the HTML Header of the Page Attributes enter "INCLUDE_DHTML_CALENDAR_SCRIPTS"
My current HTML Header of the Page Attributes has this code:
<script language="JavaScript" type="text/javascript">
--(this is commented out) htmldb_delete_message='"DELETE_CONFIRM_MSG"';
</script>
I'm not sure where to add the "INCLUDE_DHTML_CALENDAR_SCRIPTS" text. Do I need something before or after that quoted string?
I'm getting the following error message when I run the page:
ORA-06550: line 22, column 6: PLS-00103: Encountered the symbol ";" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe The symbol "exit" was substituted for ";" to continue.
Error ERR-2904 Unable to set shortcut value.
OK

Similar Messages

  • Date picker - only allow to select sundays

    Hi
    In my application I have a date picker field called "Week End date". It should contain only Sundays (the last day of the week for us).
    Currently the user can select any date, and in a computation I "round" it to the following Sunday. It works well but not very elegant and a bit confusing to the user.
    I have considered generating a LOV only with Sundays, but how many? The last/next 50 Sundays? And if the user wanted to enter a week, say, 4 years ago? The ideal is to use a popup calendar I think.
    Any suggestions on how to implement this?
    Thanks,
    Luis

    Leo
    Thanks for the reply -- do you mean a post calculation in the page itself (javascript) or in Apex? If you mean the latter, that is exactly what I am doing at the moment (see my original post).
    If you mean javascript, not sure how I would do it (because of the date format mask, I would not like to hard code it), but would help... I will take a look at it.
    Thanks,
    Luis

  • Scehdule Line Date getting change to future date once the Sales Order is saved

    Hello Experts,
    Good Morning to you all,
    This is with respect to the Issue we are facing for the Orders having Product Allocation on multiple materials. Please find enclosed the detials below.
    Issue : Scehdule Line Date getting change to future date once the Sales Order is saved. These Order's are having Product Allocation on multiple materials.
    Description:
    We have implemented Product Allocation few months back.
    We have Product Allocation on multiple materials which are in demand and has been reserved for the Customers of different PA behaviors.
    When we are trying to create the Sales Orders for the normal customer who is not on Product Allocation. The Order Schedule Line is getting changed to future date once the Sales Order is saved after initial creation.
    These Order's are having materials of Product Allocation.
    I have enclosed the sample screen shot of the error we are getting which saving the Sales Order and also the Order Schedule Line screen shot showing future date.
    Error Message : There may be Product Over Allocation in Delivery Group 001.
    Message No : VV023
    This is a random behavior we are coming across and out of 10 Order 2 or 3 Orders is getting this Issue.
    Please share your inputs how to rack this Issue.
    Your suggestions will be highly appreciated.
    I am unable to upload the attacments dont know what the reason.
    Thanks,
    Farhan.

    Check whether you need to carry out the coding corrections as recommended in the following note:-
    Note 52067 - Message VV023/VV024, but no prod.alloc.processing    
    But I wonder this is for older versions and not sure whether this would help you to overcome from the issue.
    G. Lakshmipathi

  • Date Picker Calendar Show Wrong Date Information Dec/Jan 2014-2015

    When using a Date Picker, the offered Date for January 1st 2015 is a Friday!  It supposed to be a Thursday!
    You can move to February, and return to January again, and it will correct itself.  
    This happens in Office 2007 and 2010
    What's gone wrong?
    IT will also offer the wrong December dates.
    Is there a fix please?

    Re:  Bad date
    Some remote possibilities...
      Your computer's clock has an incorrect date
      The wrong year is entered somewhere as the first day in 2016 is a friday.
      You have the wrong date system selected 1900 vs. 1904 or vice versa.
      You have a 3rd party (non MS) Date Picker that is programmed incorrectly.
      You have Office 2013 (nothing seems to work there)
    There are alternatives and I offer one for Excel...
    a free excel add-in date picker ("Get Your Own Date")
    (no ads, no trackers, no cookies, no registration)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2
    Jim Cone
    Portland, Oregon USA

  • Date Picker not allowing to capture time

    Hello Friends,
    I am trying to create a tabular form on a table[create SQL as below].
    CREATE TABLE  "JOB_RUN_DETAILS"
       (     "JOB_NAME" VARCHAR2(100),
         "SCH_RUN_DATE" DATE,
         "START_DATE" DATE,
         "END_DATE" DATE,
         "STATUS" VARCHAR2(100),
         "ID" NUMBER NOT NULL ENABLE
    /My idea of the tabular form is to allow entry of time both hours and minutes from the date picker along with date for <b>"START_DATE", "END_DATE" </b> items.
    But I dont see a possibility to do that for hours and minutes. But I remember having seen this in Apex 3.2, not sure if I missed some thing while page making or this feature of Date Picker is left intentionally in the new release.
    Please share any ideas you have.
    Thanks,
    Chaitu.

    My understanding is you are trying to create a Tabular form using the Table which you specified, you are expecting time part to be displayed in the Date Picker column ?.
    The Time part of hours and Minutes will be displayed based on the format mask used for the Application or the item. if the format mask is DD-MM-YYYY HH24:MI then you will see the hour and minute part with the Date Picker.

  • Date Picker: Only select Month and Year

    Hallo,
    I try to configure the Date Picker. For the users it should only be possible to select Month and Year. The column should be automaticly completed with the first day of the select month and a static time (00:00:00).
    How can I do this?
    Sincerly

    You can't do that with a standard date picker. What you could do is to use it and after you change the value in it you modify the value using javascript and ajax similar to what I do in this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:9
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How can use a date picker to fill in dates in Numbers

    I would like to know how can I have cells in date format which I would be able to fill with a date picker fro a calendar?

    There is no date picker gui item in Numbers.  Every idea I thought of in my head took longer then typing.  If you describe your specific problem a little more people may be able to provide some other solutions

  • Sales order system date isnt copying giving future date

    dear sir,
    while creating sales order it is nt capturing the default date from system and taking future date in advance

    please elaborate which date are you taking about.
    order date
    requested delivery date
    pricing date
    if you are taking abot delivery date and pricing date then you can check in VOV8 and goto your order type and you wil find column "Lead time in days" and "Prop.f.pricing date".
    you can configure as per your requirement.
    reward point if helpful.
    regards/ashu

  • Date Picker query showing "No Data Found", works in SQLPlus

    I have created 2 Date Picker items - P2_START_DATE and P2_END_DATE. I have set the format of these to 'DD-MON-YYYY'.
    This is the query I have to select the data based on the values from the date pickers:
    select sample_date,reading from meter_data where sample_date between to_date(:P2_START_DATE,'DD-MON-YYYY') and to_date(:P2_END_DATE,'DD-MON-YYYY') order by sample_date;
    The P2_START_DATE is '20-JAN-2011', the P3_END_DATE is '21-JAN-2011'.
    The query returns "No Data Found" when run in APEX, but when I run this in SQLPlus on the host I get data:
    select sample_date,reading from meter_data where sample_date between to_date('20-JAN-2011','DD-MON-YYYY') and to_date('21-JAN-2011','DD-MON-YYYY') order by sample_date
    20-JAN-2011 .39
    20-JAN-2011 .14
    20-JAN-2011 .14
    20-JAN-2011 .18
    21-JAN-2011 .13
    Can someone explain what I'm doing wrong? I have tried a few different formats, with no luck.
    TIA

    Hi Jeff,
    My Requirement is also looks like same, but am not able figure it out the reason why am getting no data found message in my chart(report).
    Requirement:
    I have a page, where two date picker(html5) items let say P30_FROM_DATE, P30_TO_DATE are there, apart from this i have one button as well,
    when the user select the from and to date from the date picker, and as soon as click on the button (SHOW), need to display the 2D Stacked Bar Char.
    so to achieve this, i have created a blank page, under region i have created a chart (2D Stacked Bar Chart), under items--> i have created two date picker items and one button.
    my query is
    SELECT NULL LINK,
           FLOW_STATUS_CODE LABEL,
           COUNT(ORDER_NUMBER) VALUE
      FROM
           OE_ORDER_HEADERS_ALL
    WHERE
           CREATION_DATE
           BETWEEN TO_DATE(:P30_FROM_DATE,'DD-MON-YYYY') AND TO_DATE(:P30_TO_DATE,'DD-MON-YYYY')
    GROUP BY FLOW_STATUS_CODE;
    Issue:
    Once i select the From and To Date, when am click on Show button, am not able to see as desired chart, instead am getting no data found message in the chart location.
    Can you please tell me how to do this.
    i would like to know that, how do i capture those two date item values in my query, and how do i initiate my report when am pressing button.
    please revert back to my below mail.
    Regards
    Santhosh Kumar. K
    [email protected]

  • Allow datapicker to only allow Sunday dates to be selected

    Is it possible to limit the users selection to just Sunday dates?
    If so what would be the best approach?
    Thank you

    Hi
    This macro should do what you're asking.
    Private Sub DTPicker1_CloseUp()
        Dim MyDate As Date, MyWeekDay As Integer
        MyDate = DTPicker1.Value
        MyWeekDay = Weekday(MyDate)
        If MyWeekDay <> 1 Then
            MsgBox "You must select a Sunday only"
        Else
            Range("A3") = DTPicker1.Value
            Unload Me
        End If
    End Sub
    A made a sample file with that macro at the link below.
    http://dropcanvas.com/1dfqb
    If that answered your question, please mark the post "Answered"
    Cimjet

  • Where with Date returns only one day data

    SELECT col1,col2 FROM bill WHERE
    trunc (TO_DATE(time_stamp, 'yyyy/mm/dd HH:MI:SS AM') = trunc (TO_DATE('2012/01','yyyy/mm');
    This only returns data for first day of the month and need data for a month.

    Welcome to the forum!
    This forum is for SQL Develper questions only. Mark this question ANSWERED and repost it in the SQL and PL/SQL forum
    PL/SQL
    >
    SELECT col1,col2 FROM bill WHERE
    trunc (TO_DATE(time_stamp, 'yyyy/mm/dd HH:MI:SS AM') = trunc (TO_DATE('2012/01','yyyy/mm');
    This only returns data for first day of the month and need data for a month.
    >
    Well a TRUNC without a format string only gives you one day. If you want to trunc to the month you need a 'MM' format string.
    SELECT sysdate, trunc(sysdate), trunc(sysdate, 'MM'),
    trunc(TO_DATE('2012/01','yyyy/mm')) td from dual
    SYSDATE,TRUNC(SYSDATE),TRUNC(SYSDATE,'MM'),TD
    10/30/2012 6:48:53 PM,10/30/2012,10/1/2012,1/1/2012

  • Query - Filter by a specific dynamic date - Return only the max date record

    Hello experts,
    I'm building a query. In this query I have a filter named validity date. I need to select a record where the max date is less than this filter.
    For example:
    Comp. Code | Plant | Mat. | Cost Type | Valid. Date | Value
    0000000001   00001  0001  xxxxxxxx    12.05.2008   2,00
    0000000001   00001  0001  xxxxxxxx    09.05.2008   1,00
    0000000001   00001  0001  xxxxxxxx    05.05.2008   0,50
    If the user set 13.05.2008 in the filter, the report should return:
    0000000001   00001  0001  xxxxxxxx    12.05.2008   2,00
    If the user set 11.05.2008 in the filter, the report should return:
    0000000001   00001  0001  xxxxxxxx    09.05.2008   1,00
    If the user set 08.05.2008 in the filter, the report should return:
    0000000001   00001  0001  xxxxxxxx    05.05.2008   0,50
    The problem is that the date will be dynamic and I'll need to return just one line for a combination of Company Code, Plant, Material and Cost Type. First of all I would like to know the best way to do it. Do I need to use virtual key figure? If so, anyone could tell me some steps to do it?
    Thanks in advance,
    Helder

    Not Virtual KeyFigure.
    You can achieve this with Restricted KeyFigure with the restriction with CalDay (Variable) which user input while Running the Query. Its more like a Bucket. SAP Delivered Buckets Query is in the below link. Check that query you will understand better about Bucket.
    http://help.sap.com/saphelp_nw04/helpdata/en/40/94af39a3488979e10000000a11402f/content.htm
    If not clear try to Install the BC Query and play with that you will know better.
    Thanks
    Sriram

  • Read only Text Field for a Date Picker?? (how to)

    Hi,
    We have BPM Object presentations where we need to accept date values and the presentation puts Date Picker by default. But the text box associated with the date picker is editable. Is there a way so that I can make it non-editable so that i can enforce the data entry via date picker only (a typical use case)?
    Thanks in advance,
    user8702013.

    Hi,
    In the BPM Object's Presentation editor for the presentation, click the date field. On the right, click the "Properties" tab. Change the field's "Editable" property for this presentation from the default ("Yes") to "No". This only effects this one presentation.
    Hope this helps,
    Dan

  • Date Picker display problems on same line with no new field

    With version 3.1.1 the attempted display of two date fields side by side appear stacked in the same column with the labels in between instead of side by side. This works fine with version 1.6.
    Create a page with 2 Date Picker items. Call the first one P1_DATE_FROM and the second one P1_DATE_TO. For P1_DATE_TO set the "Begin on new line" attribute to NO and the "Field" attribute to NO then display the page.
    The resulting display will be shown as:
    Line 1: Box for Date From value with date picker icon
    Line 2: Labels for both Date From and Date To with only a single space between
    Line 3: Box for Date To value with date picker icon
    The resulting display should be:
    Line 1: Label for Date From, Box for Date From with date picker icon, Label for Date To, Box for Date To with date picker icon.
    If you set the "Field" attribute to YES then the fields will appear on the same line in separate columns. I am trying to leave the second column available for and additional column of items in order to reduce the vertical scrolling on the page.
    If you repeat the above example with Text fields instead of Date Picker fields the desired result is achieved.

    You are correct that saying "Yes" to the field attribute will allow the items to format properly however this will push the second field into the second column on the page. I am purposely trying to keep these 2 items in the first column so that I can place a third item in the second column.
    I have tried using the "Start and Stop HTML table" feature to work around this but I can't control the alignment of the margins for the items above and below the start and stop item which make the display of the region even worse.
    Any other ideas or suggestions for work arounds would be appreciated.

  • Restricting the Travel expense claims for future date

    Hi,
    We are configuring the BPs for ESS & MSS.  Currently we are on NW portal 7.0 ,SPS15 and ECC6.0 at the backend.
    Can anyone suggest us, how to restrict the users NOT to apply the Travel expense claims for the future dates (i.e.the portal system is expected to allow the users for the claims, till the current date or any past date but not any future date)  through portal.
    Currently, the system is allowing the users to apply the Travel Expense claims for the future dates also.
    Any help on this will be appreciated.
    Regards,
    Venu

    Hi Venu,
    I am not sure whether there is any configuration through which it can be achieved or not. But you can use Badi TRIP_WEB_CHECK for WebDynpro.
    Hope this will help.
    Thanks & regards
    Arun

Maybe you are looking for

  • Add new screen in ME23N with BADI ME_GUI_PO_CUST

    Hi folks, I have used the BADI ME_GUI_PO_CUST to add a custom tab in transaction ME23N. So good, sor far, I know how to used BADI and it works very well. I had to subscribe my own subscreen in the method subscribe of the interface, but something is b

  • Are the Wifi problems fixed yet?

    Hey, Im from the UK and currently holidaying in the US. I really want an I-pad, and am thinking about getting one whilst im out here, but am very concerned about the wi-fi issues and having problems returning the Ipad to stores in the UK since it isn

  • Simple regular expression in oracle query

    hi guys, I have this challenge. say I have a query: select name, user_name, object_type from questions; now, for the column object type, I can get values that end in 'Q' followed by number. So object type columns can be 00Q1, ABCQ2, 56Q7 e.t.c. It ca

  • Movieclips no good for video?

    I have been reading the article Migrating Flash Project to Video where Chris Georgenes is saying you should avoid Movieclips in this particular scenario. I have seen this in other texts also, but at the same time I think I've read that this is someth

  • Using DLL  with JSP

    I have a dll component writing with C++. I want to use this DLL in a JSP Pages. Is it possible? How could i do? I don't want to use JNI because I don't know JAVA. thanks. Bye.