Using Minimun Date attribute in items Displayed as Date Picker

Hi,
Working in a FORM, it has two items (Diasplay as Date Picker). THey are DATE OF ACTIVITY ( item name: P12_F_CARGA) and DATE OF APPROVAL (item name: P12_F_APROBACION). Now, DATE OF APPROVAL must be >= than DATE OF ACTIVITY.
-For both items: Format Mask:DD-MON-YYYY
-For item DATE OF APPROVAL:Minimun Date: &P12_F_CARGA.
According to documentation Minimun Date is a minimun selectable date and The value can be absolute value in YYYYMMDDHH24MI format or relative value with respect to today's date e.g. +7d  ('y' for years, 'm' for months, 'w' for weeks, 'd' for days) or name of the item, which holds the value e.g. &ITEM_NAME..
Example
200906110000
+1m+1y+1w
-1m-1w
+1m-1d
&ITEM_NAME. (including period)
The message received is:
Introduzca el valor de atributo de fecha mínimo 22-NOV-13 para el elemento P12_F_APROBACION que no coincide con el formato YYYYMMDDHH24MI.
ORA-01858: se ha encontrado un carácter no numérico donde se esperaba uno numérico
Tecnical Information (Only for Developers)
is_internal_error: true
apex_error_code: DATEPICKER.MIN_DATE_INVALID
ora_sqlcode: -1858
ora_sqlerrm: ORA-01858: Oracle has found an non numeric character where a numeric was expected.
component.type: APEX_APPLICATION_PAGE_ITEMS
component.id: 3691021571424602
component.name: P12_F_APROBACION
error_backtrace:ORA-06512: en "APEX_040100.WWV_FLOW_UTILITIES", línea 10551
PD: I tested using +1d and 201211220000 and it works!
Thanks,
Luis

Lecc23
As the error message is stating the value of P12_F_APROBACION is 22-NOV-13 where it should be 201311220000.
The value of a page item is always a string.
If P12_F_APROBACION is an input item check out the form to datepicker plugin from Clarifit
Nicolette

Similar Messages

  • Force use of date-picker

    Hi Everyone,
    Is there a way to force the user to use the date-picker and not type?
    I want the user to enter the date only with the date-picker. I do not want him typing at all.
    Can it be done?
    Many, many Thanks,
    Joe

    Hi Joe
    I got this to work by putting the following in the change event
    if (xfa.event.change.length==1)
    xfa.event.change = "";
    I then added a note in the enter event to advise users to click on the arrow to do this
    xfa.host.messageBox("Please click the arrow to your left to select date","Assistance",3)
    I am not sure that the code is that great but works for me.  Bear in mind that some users cannot use a mouse which would be the disadvantage of doing this force.
    Let me know if it works.
    Thanks
    Darren

  • Alternative use of date picker in Forms Builder

    Hi
    I am looking for a way to create event based actions by use of standard functionality.
    I have created a calendar module by use of the Forms Builder. I would like to add a date picker to a “show form” and add some events based on user actions to this page.
    When a date is selected (by a click on a date from the “small” date picker) a new page with events for the selected day should be displayed instead
    Have anyone any alternative experience with the date picker in the end user environment?
    Regards
    John

    Hi there,
    I presume that you want to run a report with date parameters. The parameter form of Oracle Reports has limited capabilities. It certainly does not have a date picker (Calendar). However, you can use SQL to give you a list of dates for the LOV but it will not be elegant.
    If you have Oracle Forms, it can call the calendar for the user to pick the date. The values are then passed to the report as parameters.
    Hope the above helps.
    Best Regards,
    John

  • Is it possible to use the date picker in regular PLSQL?

    I would like to use the the date picker but my application is not suited to ApEx.
    Thanks!

    Hi,
    >>>configuration instead of coding etc
    currenly it is not possible to achive it without any coding
    >>>repeat messages with RSNAST00
    RSNAST00 is not used to repeat messages (idocs) but to send them
    try using standard IDOC in your sd invoice scenario
    if you don't want to do any coding
    Regards,
    michal

  • How to use the date picker in Web dynpro java

    Hi,
    I want to add date picker to enter a date while developing webdynpro application.
    How can i do that.
    Regards,
    H.V.Swathi

    Hi,
    its very simple...
    take a input field and map it to the attribute which data type is of "date". thats it at runtime you will see a input filed with date picker.
    i.e. Add an inputField and bind the context attribute of Type Date to it
    this will show the date picker on screen.
    PradeeP

  • 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

  • "Server Busy" error in Crystal Reports XI when using date picker

    Hi,
    I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
    I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
    Has anyone come across this and how were you able to resolve it?

    yes test is a formula that i used to calculate a difference
    that should work, but i would put () around the
    (if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
    remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
    truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
    else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
    rounding in crystal is a pain in the &&

  • Date selection will not print properly when using Microsoft Date and Time Picker Control 6.0 in Excel 2010

    I have created a field input worksheet in which the user identifies start and end dates for training sessions, using the Date and Time Picker Active X Control.  It works fine on-screen, but when the worksheets are printed, the dates that were selected
    using the date picker calendar print out in an unreadable, huge font.  The large font also appears in the print preview mode.  I've tried modifying various properties in design mode, but nothing that I have tried will correct the problem. 
    Any ideas?

    The DTPicker seems to have some bugs in it when used on a worksheet. I have overcome the above by setting the size properties to the same size as a cell and the Linked cell property to the
    cell under the DTPicker. (Even setting the Linked cell had problems with an error message referring to the Check box property to be set to true so I just set it to true and inserted the linked cell and set the checkbox property back to
    false.)
    Then the VBA code below that Hides the DTPicker after a date is selected and unhides the DTPicker when the linked cell with the date is selected. The code is for 2 DTPickers so you will need to edit to suit your requirements.
    Caveat: If the DTPicker is visible then you can't hide it by selecting the same date again. If this occurs then it is a multi step operation. First select another date and the DTPicker will hide, then click on another cell then back on the cell with
    the date to unhide the DTPicker and then select the correct date.
    Hope it helps and feel free to get back to me with any questions etc.
    Private Sub DTPicker1_Change()
        Me.DTPicker1.Visible = False
    End Sub
    Private Sub DTPicker2_Change()
        Me.DTPicker2.Visible = False
    End Sub
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        Select Case Target.Address
            Case "$E$5"     'This is the linked cell for DTPicker1
                Me.DTPicker1.Visible = True
            Case "$E$13"    'This is the linked cell for DTPicker2
                Me.DTPicker2.Visible = True
        End Select
    End Sub
    Regards, OssieMac

  • Splitting Date Picker applet input over multiple fields

    I have created three text fields to collect date information (MM-DD-YYYY). I did so in order to allow entering dates in manually while applying a format mask to the entry along with a jumping cursor to jump from the MM field to the DD field to the YYYY.
    I would like to be able to use the date picker functionality aswell to fill out these three fields incase a user does not want to enter the date manually.
    What is the best way to approach this?
    Thanks

    Hi,
    The best way would be to call a javascript function using an onchange event in the Element Attributes of the date picker. The function would then strip the components out of the date field and populate the other three fields. The example in the link below should should give you enough information to do this;
    http://htmldb.oracle.com/pls/otn/f?p=31517:162:4335067967832318::NO
    cheers,
    Ron

  • Move Date Picker Pop Up Location

    Hello All,
    What is the easiest way to move the location of the pop up window when using a Date Picker on a form page?
    Currently using Sand Theme it pop ups at the top of the screen in IE and Firefox.
    We would like it to popup right next to the item on the form?
    We have several on a form and would like to get the users accustom to same location or middle of screen focus.
    Regards,
    Robert

    I don't think this is possible whether you can access the javascript or not. There are a few essential parameters which are, as far as I know, unavailable. These are:
    o the position of the browser window on the screen
    o the height of the 'chrome' (title bar, menus, icons, address bar, tabs, etc) above the page
    o the width of the chrome on the left of the page, eg the bookmarks
    Also, the width, in pixels, of the input item cannot be known. This would be necessary for my solution (below), where I position the window relative to the input item, as that's the nearest element with an ID.
    The javascript generated by ApEx for the data picker doesn't declare the window object's reference with the VAR keyword (this terminology may be way off track!), so I was able to create a wrapper around this and create a variable with the same name, which will be in scope for the ApEx javascript. Now I can reference the popup window when ApEx has finished creating it. Then it's just a case of finding the input field's position on the page (using this: http://www.quirksmode.org/js/findpos.html) and adjusting for the page scroll and 'chrome' size before setting the date picker's position.
    This assumes the browser window is at the top-left of your screen and that all the chrome (even the status bar) is at the top or left of the window.
    http://htmldb.oracle.com/pls/otn/f?p=25637:12
    Works in Firefox but not IE6. Works in Opera but behaves slightly differently than in FF.
    You can use the same technique to hack the javascript and position the window in the middle of the screen but I wouldn't bother. It should be possible, but it would need implementing on an item-by-item basis and might break in later versions of ApEx. Also, Firefox has an option to disable any javascript which moves windows, so some users would never notice your efforts.

  • 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

  • Date Picker - Page Refresh?

    When using a date picker object (AND a LOV list w/submit in our case), is there a way to make the date picker force a page refresh? Otherwise, charts and/or sql report regions do NOT auto refresh their data when a new date is picked unless the users forces a refresh/submit (or in our case the LOV will do it IF the LOV value is changed too)...

    Hi,
    Have you tried to put into Date Picker HTML Form Element Attributes function onChange="doSubmit();"?
    Val

  • Date Picker error

    Hi,
    We have an application that cannot use the date picker, after a date is selected, the error we get is:
    A runtime error has occurred
    Line:10
    Error: 'opener.document.forms.0.p_t03' is null or not an object
    After a lot of searching around, the developer has narrowed it down to something on the template for some reason, but we are not sure what. If we remove the template, it works fine - but in this case the business wants the standard look and feel - so we are stuck with having to use it.
    Below is the header, body and footer sections of the offending template - anyone have any idea of what could cause the problem with the date picker?
    Header:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>#TITLE#</title>
    #HEAD#
    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="Monash University Research Output Reporting Tool" />
    <meta name="keywords" content="research, RORT, reporting" />
    <link rel="stylesheet" href="http://assets.monash.edu.au/styles/monash.css" type="text/css" />
    <link rel="stylesheet" href="http://assets.monash.edu.au/styles/print.css" media="print" type="text/css" />
    <link rel="shortcut icon" href="http://www.monash.edu.au/favicon.ico" />
    <link rel="stylesheet" href="#IMAGE_PREFIX#css/einstein.css" type="text/css" />
    <script src="#IMAGE_PREFIX#javascript/functions.js" type="text/javascript"></script>
    </head>
    <div id="accessibility">
    Skip to content | Change text size
    </div>
    <div class="spacer"></div>
    <!-- S I T E I D E N T I F I C A T I O N -->
    <div id="global-header">
    <div id="global-images">
    <img id="logo" src="http://assets.monash.edu.au/images/logo.gif" width="343" height="79" alt="Monash University" /><img id="banner-image" src="http://assets.monash.edu.au/images/banner-research.jpg" width="288" height="79"
    alt=" " title="" />
    </div>
    <div class="spacer"></div>
    <!-- G L O B A L N A V I G A T I O N -->
    <table id="global-nav" summary="Layout for site-wide navigation">
    <tr><td>
    Monash home | About Monash | Faculties | Campuses | <a
    href="http://www.monash.edu.au/contact/">Contact Monash</a>
    </td></tr>
    </table>
    <!-- U T I L I T Y N A V I G A T I O N -->
    <table id="global-utils" summary="Layout for utility navigation">
    <tr>
    <td>
    Staff directory | A-Z index | Site map  
    </td>
    <td id="global-utils-form">
    <form action="http://ultraseek.its.monash.edu.au/query.html" method="get" name="seek1" id="seek1">
    <input type="hidden" name="rq" value="0" />
    <input type="hidden" name="col" value="m0" />
    <input type="hidden" name="qs" value="-monash.access:intranet -monash.access:emailarchive" />
    <label class="search" for="qt">SEARCH </label>
    <input type="text" id="qt" name="qt" size="20" maxlength="1024" />
    <input type="hidden" name="qp" value="" />
    <input name="submit" type="submit" accesskey="1" value="Go" />
    </form>
    </td>
    </tr>
    </table>
    <body #ONLOAD#>#FORM_OPEN#
    <H1><CENTER>MRGS EXAMINATIONS</CENTER></H1>
    Body:
    <!-- S K I P L I N K A N C H O R -->
    <a name="content" id="skiplink"></a>
    <div align="right">
    <table class="std">
    <tr><td align="left" width="10%" valign="bottom" nowrap="nowrap"><span class="PortletHeading2">&USER.</span></td><td style="padding-left:30px;">#NOTIFICATION_MESSAGE# #SUCCESS_MESSAGE#</td></tr></table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor">
    <tr><td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
    </table></div>
    </td>
    </tr>
    <tr>
    <td width="100%" colspan="3">
    <div class="th_content_body">
    #REGION_POSITION_01#
    <tr>
    <td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_02#
    </td>
    </tr>
    <table width="100%">
    <tr><br>
    <td width="25%" style="border-right:2px #000099 solid;padding-left:10px;" valign="top">#REGION_POSITION_03#
    </td>
    <td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_04#
    </td>
    <td valign="top" width="100%" style="padding-left:20px;padding-left:20px;">
    #BOX_BODY#</td>
    </tr>
    <tr>
    <td></td>
    <td style="border-style:solid;border-width:thin;border-color:black;padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_07#
    </td>
    </tr>
    </table>
    </div>
    #REGION_POSITION_09#
    </td>
    </tr>
    <tr>
    </table>
    Footer:
    #FORM_CLOSE#
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor"><tr>
    <td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
    </table>
    <table width="100%"><tr><td align="right" class="tiny"> #CUSTOMIZE# </td></tr></table>
    Copyright &copy; 2003 <FONT COLOR=#606060><U>Monash University</U></FONT> ABN 12 377 614 012 - <FONT COLOR=#606060><U>Caution</U></FONT> - <FONT COLOR=#606060><U>Privacy</U></FONT> - <FONT COLOR=#606060><U>CRICOS
    Provider Number: 00008C</U></FONT>
    Last updated: 10 August 2004 - Maintained by <FONT COLOR=#606060><U>[email protected]</U></FONT> - <FONT COLOR=#606060><U>Accessibility information</U></FONT>
    </body>
    </html>

    i think the calendar runs through a specific dll file. you may want to search to make sure all the dlls are installed. or re-install the software

  • Date Picker Problem in BPM VC reports

    Hi All,
    we have created a VC report, which shows the BPM Process information for certain group of users. this is working fine. We are supposed to give some filtering options to the user so as to reduce the amount of records retrieved. We have to filter based upon the process start date (this value is a defalut parameter available when we create a new data source).
    This date is coming in M/D/YY format (ex. 1/1/11). If I use a date picker UI, its date is coming in MM/DD/YYYY format. Due to this the filtering is not working.
    Can some body help me how can I make this work.
    Regards,
    SrinivaS

    Hi All,
    I solved my problem. I added a new Action on submit of type "Assign" and used the below expression for conversion.
    =(DSTR(@STRTDTCUST_From,"M/D/YY")&" - "&DSTR(DADD(@StartDate_To,1,"D"),"M/D/YY"))
    SrinivaS

  • UIX Javascript Error with Date Picker

    Hi all,
    I am using JDeveloper 10.1.2.1.0 with JHeadstart 10.1.2.2.32 to create UIX pages. I have a page with a filter by search field. If I select the date picker on this page in IE version 6 or 7, I get the following javascript error:
    Error: 'length' is null or not an object
    I have found this in the Common2_2_20.js, which is part of the jslibs
    function _accumulateNumber(
    a0,
    a1
    var a2=a0.currIndex;
    var a3=a2;
    var a4=a0.parseString;
    ***var a5=a4.length;***
    if(a5>a3+a1)
    a5=a3+a1;
    var a6=0;
    while(a3<a5)
    var a7=parseDigit(a4.charAt(a3));
    if(!isNaN(a7))
    a6*=10;
    a6+=a7;
    a3++;
    else
    break;
    if(a2!=a3)
    a0.currIndex=a3;
    return a6;
    else
    return(void 0);
    }With Firefox 1.5.0.4, I can get the date selector window to open, but when I select a date value, I get this javascript error:
    a0.select() is not a function
    I have found this in the Common2_2_20.js also. Here is the code where the error is occuring.
    function _dfsv(
    a0,
    a1
    if((a0==(void 0))||(a1==(void 0)))
    return;
    a1+=_getTimePortion(a0);
    var a2=new Date(a1);
    var a3=_getDateFieldFormat(a0);
    var a4=a0.value;
    var a1=a3.format(a2);
    if(a0.value!=a1)
    if(a0.onchange!=(void 0))
    if(_agent.isIE)
    a0.onpropertychange=function()
    var a5=window.event;
    if(a5.propertyName=='value')
    a0.onpropertychange=function(){};
    a0.onchange(a5);
    a0.value=a1;
    else
    a0.value=a1;
    var a5=new Object();
    a5.type='change';
    a5.target=a0;
    a0.onchange(a5);
    else
    a0.value=a1;
    ***a0.select();****
    a0.focus();
    }I am able to use the date picker on other pages and even different parts of this page. The date search field is of type dateField.and is part of a switcher. Does anyone have any ideas as to why this is occuring or how I can work around it? Thanks in advance. I really appreciate all of your help.
    Susan

    Thanks for the reply. As a matter of fact, in my case the error happens in a UIX page generated by JHeadstart. I did some JavaScript debugging using the FireBug Firefox entension and I found that it is some JHeadstart JavaScript that causes this problem.
    The JHeadstart JavaScript passes on an array of input elements to the AFD JavaScript function and the problem arises when the select() method is called on the array, rather than an input element in the array.
    I will try to solve my issue by modifying the JHeadstart JavaScript code. Please see the JHeadstart forum somewhere in the near future for my post(s) about this :-)
    Thanks, Wouter

Maybe you are looking for

  • How many monitors can you use on a new imac with GEForce 780m?

    My husband bought a new 27" iMac with the optional GEForce 780m with 4 gig of video ram. He wants to know how many monitors he can run simultaneously, and at what resolutions. He would obviously be using the Thunderbolt ports to do this. I thought th

  • One of my two screens stays off after coming from standby - OSx 10.10.2 MacMini

    When 'reviving' my macmini after not using it for a while one of my screens stays black (The screen stays off so there is no contact from the mac). Even after logging in again the screen stays black. I can get it to work again by disconnecting both s

  • Error when selecting depreciation area as real dep. area

    When trying to create a new derived depreciation area and select it as real dep. area in order to be able to post values in FI-GL, I get an error and the system does not allow me to post. I´m working with version 4.6 and need to post values in GL fro

  • How to find referenced images in Aperture Library

    Hi, On starting Aperture it tells me I have 18 referenced images. When creating a vault it tells me all but these 18 referenced images will be backed up. Problem is, try as I might I can't find these referenced images anywhere in my Aperture library,

  • Error in Accrual and Deferral for Contract in REAL ESTATE-FLEXIBLE

    Hi Gurus, I am Trying to post Accrual and Deferral via RERAALCN for REAL ESTATE - FLEXIBLE. But i am Getting an error that company code is not assigned to accounting principle IAS but in my case accounting principle which is assigned to leading ledge