Dateformat in a LOV-Column

Hi,
can somebody tell me how I can set a dateformat for a LOV-Column in Forms 9.0.2.12.2.
I want to have it to look like this: "2.Aug.2005" instead of "02.08.05".
Thanx and regards
Helmut

Write your LOV with an extra column that contains the date formatted how you want it. Don't display your real date, just the formatted one. Your select statement would be something like:
SELECT TO_CHAR(TO_DATE('02/AUG/2005','DD/MON/YYYY'),'FMDD.Mon.YYYY') displayed_date,
'02/AUG/2005' the_date
FROM dual
Richard

Similar Messages

  • Some '???' appeared in the LOV Column Mapping window ...only

    Hi,
    I installed the Forms6i with the patch 12 on Windows XP platform. The installation language is Greek. The only problem i have faced up with the installation is the appearance of some question marks in LOV Column Mapping window ... instead of the Greek translation of the phrases:
    Column Names ,
    Return Item ,
    Display Width ,
    Column Title
    Is there a specific Windows font that should be installed ....or something else...????
    Thanks,,,,
    Sim

    You have to do it from the source code. Click on source, you will find "<xsl:if test="">".
    Define your condition in test="/tns:input1=/tns:input2" or check if you source string contains "abcd", i.e. xsl:if test="contain(/tns:source_column1,'abcd')"
    hope this will help

  • How to get LOV column's DISPLAY value in IR report?

    Hi,
    I would like to get LOV column's DISPLAY value to trigger another javascript function. Could you please provide any hint?
    For example, there is one IR report with 2 column, DEPT_NAME & SHOW.
    The DEPT_NAME type is LOV .
    The SHOW column is one link image, when clicking it , I would like to fire a javascript to get DEPT_NAME 's display value.
    I know I can use #DEPT_NAME# to get the return value of LOV. However, how to get current row's DEPT_NAME's display value?
    Thanks in advance.
    Ray
    Edited by: 最爱用中文 on 2013-4-11 下午4:14

    Is there any way you can create a table join, instead of using LOV as your display type?
    That way you can select the name of the department in your IR query, display it as text, and then easily reference it as #DEPARTMENT_NAME#, for example.

  • Report "Display Text (Based on LOV)" columns don't like colons - Bug?

    This is a bit hard to explain in text, so I've built a sample app: http://apex.oracle.com/pls/otn/f?p=9608:1
    The app has two pages, which demonstrate two related bugs in the handling of Report "Display as Text (based on LOV)" columns.
    Basically, if the LOV query returns a string that contains colon characters (":") in the display column, the values are matched up correctly, but the colons are stripped from the display.
    If the LOV query returns a string that contains colon characters in the return value column, then the matching fails entirely.
    Removing the colon characters eliminates the problem.
    We actually ran into this in a production environment, after an upgrade from Apex 3.0.0 to 3.2.1. The behavior definitely did not occur in Apex 3.0, but was added at some point between the two versions.

    The colon is actually part of our data (the field in question is a URN namespace).
    And yes, I understand the function of the colon in Apex URL parameter passing. However, I wouldn't expect that sort of parsing to be used against the results returned from an LOV query.
    Also, the LOV is fine in of itself -- a select list based on the LOV displays & returns the expected values. It's only when I use a report column based on an LOV that this behavior creeps in.
    We've found a (fairly painful) workaround -- altering both the report query and the LOV query to to do something like replace(column, ':', '_') -- but that's a manual change to a large number of pages for us.
    This behavior is new to version 3.2.1. It didn't happen in version 3.0.

  • How to validate lov column

    Hi All,
    its very urgent.
    i have one page,page having lov,create and clear buttons.
    normally user select lov in list of values and click on the create button it ll navigate to next page.
    and also click on the clear button it ll clear the column.
    but my requirement is,in lov column user enter manually(this value not in list of values).
    and user click on the create button at that time page ll not move to next page i need to open list of values page.
    how to reslove this issue.
    please guide me
    Thanks in advance.
    Edited by: its urgent on Mar 13, 2012 6:51 AM

    If this value is false, then it pops up the LOV if the value is not valid.
    Not sure why you are not getting it. Try to play with other properties.
    Regards,
    Peddi

  • Forms 6i count lov columns

    Please dear sirs, I want to count the lov columns, and also i want to get the column title of the lov, and i use forms 6i , i know that there is "UTL_LOV.Get_LOV_Column_Property" but i can not use this package because i use forms 6i please please help me

    One solution I have encountered to get around this limitation is to LOOP from 1 .. X (where X is the max amount of LOV columns you would ever expect a LOV to have, like 10 for example).
    And make a call to SET_LOV_COLUMN_PROPERTY, and then check FORM_SUCCESS immediately afterwards, If FORM_SUCCESS=TRUE, then you know the set worked, so you know that LOV column must exist.
    Not ideal by any means, but better than nothing.
    It works for most forms, alas for one form it is not working and I cannot figure out why (it throws FRM-41364, which I cannot catch).

  • How to ristric the user when data enter in lov column.

    Hi all,
    i have one page,page having lov column and submit button.
    here user select the value in to lov column and click on the submit button details ll be displayed.
    but user did not select the value in to lov means user enter the value in manually and click on the submit button at that time lov window ll be open.so how to ristric the user.plz help me its very urgent.
    Thanks
    Seshu.

    Hi,
    What is your requirement?
    You want to validate value entered by user in LOV field or not?
    If yes, then this the correct behavior.
    In no, you can disable client validations. In this case the value entered won't be validated against the LOV vo and value will be stored in the vo attribute mapped to LOV bean.
    Thanks,
    Mukesh Uchaniya

  • How to get the value from one Popup lov column to another popup lov column

    Hi,
    I am new to oracle apex development and having the below issue.
    In my application, there is a tabular form with 15 columns ( c1.. c15).
    I have to populate the value of column C5 based on the selected(from popup lov) value of column C3, tried to use onchange, but didn't help much.
    Any help please.
    Thanks and Regards,

    Oh boy, this is a fun one.
    onchange should work theoretically (in this example, assume that f05 is the target column that should be set and "this" is the source item whose value is to be transferred to f05 on the same row (row 2)):
    onchange=$s('f05_0002',$v(this));
    BUT the catch is of course that needs to be different for every row (can't hardcode the '2'), so you need something to dynamically create the row number component.
    I wrote this for an app I'm working on that uses master-detail forms heavily (I also wrote a lot more code to read the fmap array that is in v4 so that I can reference my cells via their column name and not the numeric position (so "f05 can be determined w/o hard coding), insulating against columns moving around, columns being made display-only etc. but I won't bore you with that here unless you really need to know).
    function getRow(pObj)
    { //Pass in an object reference to a tabular form cell and get back an integer
      //derived from the object ID.
      var vRow=pObj.id.substr(pObj.id.indexOf("_")+1);
      if (isNaN(vRow))
        return (null);
      return (parseInt(vRow,10));
    function formatRow(pRow)
    { //Pass in an integer and it'll be returned as the tabular form cell ID suffix
      //(e.g.: pass in 1 and get back string "_0001").
      //Used in building ID references to tabular form cells.
      if((isThingEmpty(pRow)) || (isNaN(pRow)))
        return(null);
      var vRow=pRow.toString();
      while(vRow.length<4)
        vRow="0"+vRow;
      return("_"+vRow);
    }Therefore:
    onchange=$s('f05_'+formatRow(getRow(this)),$v(this));
    So in essence, pass in "this" which will be a reference to the current item, largely to determine what row we're on. getRow will return 1, 2, 3, etc. formatRow will take that and return 0001, 0002, 0003, etc. Once that is done, it'll concatenate with the f05 and f04 to refer to the correct columns (determining f05, f04, etc. dynamically is another matter if you really need to but I didn't want to complicate this answer too much at once).
    Note: above I also use a isThingEmpty() function that I wrote. It does nothing other than check the item for an empty string, if the item is null, etc. Just do your own evaluation of empty-string, no-value, etc. there.
    It would indeed be nice though if Apex had a better way to delclaratively access the tabular form items though. Despite all the v4 enhancements, tabular forms were not entirely upgraded to the same full functionality of page items.

  • LOV columns in read only adf:table problem

    Hello
    Adf 11, ADF BC
    I've create a table Test with a column called BranchNr, the value of the column comes from the BranchList table.
    I've created an EO and a VO for both tables.
    On the Test table attriute Branch I've create a list of values to the BranchList table which displays the BranchTable.BranchDesig based on the
    linke Test.BranchNr - BranchList.BranchNr
    Testing in the application module works fine, the BranchDeisg is displayed correctly and a new value can be selected from the list.
    However when I put the Test table as a read only table on a page the BranchNr column display the BranchNr number instead of looking up the corresponding BranchDesig value.
    If I change the column on the table to an ADF Select One Choice then the BranchNr is looked up and the BranchDesig is displayed but the column
    can be modified - on a read only table !
    How can I have a read only table that looks up and displays a value from a lov without having to create a new VO with a join query (Test-BranchList))
    Regards
    Paul

    Ok, I going to my glasses tomorrow
    - all that was needed was to change the column type to selctOneChoice
    and set the column to read only....
    Regards
    Paul

  • Table Filter with static LOV column

    Hi,
    I am using JDeveloper 11.1.14 and ADF-BC in my project.
    For one of the tables,I have the following scenario.
    1. I have a viewobject [Ex: EmpVo] in which one of the attributes has a static LOV[:Ex: 'Status' attribute in EmpVo has static LOV - StatusLOV with values A - Active I - Inactive].
    2. EmpVo -- > Employee table which stores A and I as status values in database
    3. Display this view object as table in jsff page.
    In the jsff page, when filter is enabled, for the status column I am able to filter only using 'A' and 'I'.
    But actually filter has to work with 'Active' and 'Inactive' as filter values.
    Please suggest the best way to implement filter in this scenario
    Thanks,
    Praveen

    Take a look at the following article:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/16-custom-table-filter-169145.pdf
    Here, for LOV's you could have an LOV as a filter component instead of the default inputText component.
    Thanks,
    Navaneeth

  • How to restrict the duplicate values in lov column of VO based Adv Table

    Hi Gurus,
    I want to restrict the duplicate values at lov which is a colunm in an Adv Table.
    If user enters duplicate values then first it should show an error msg that Duplicate values have been entered.
    After the duplicate values have been removed, then the user can save all the values in the table.
    My Adv Table is based on a VO.
    The link how to restrict the duplicate values at form level
    talks about Adv Table based on a EoVO, which doesnot work in my case.
    My Approach,
    I am iterating through RowSetIterator and committing through PROCEDURE.
    I am able to avoid duplicate entry through a function checkRespId. (given below)
    Below code is for iterating and committing.
    public void saveline(String reqid,String userid)
    System.out.println("RequestId/saveline"+reqid);
    System.out.println("UserId/saveline"+userid);
    OAViewObject vo = (OAViewObject)getRespLineVO1();
    RespLineVORowImpl row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    System.out.println("Inside the for LOOP");
    row = (RespLineVORowImpl)deleteIter.getRowAtRangeIndex(i);
    String respoidid = row.getAttribute("ResponsibilityId")+"";
    String respname = row.getAttribute("ResponsibilityName")+"";
    String stdate = row.getAttribute("StartDate")+"";
    String enddate = row.getAttribute("EndDate")+"";
    String linestatus ="A";
    if(userid!=null)
    if(!(respoidid.equals("null")) && respoidid!=null)
    String checkingrespid=null;
    checkingrespid = checkRespId(userid,respoidid);+contains no if not duplicate and yes if its duplicate+
    System.out.println("checkingrespid for Resp with ID :"+respoidid+"exists or not "+checkingrespid);
    if(checkingrespid.equals("No"))
         String message, result = null;
    Connection txn = getOADBTransaction().getJdbcConnection();
    try
    calling PROC ...
    catch(Exception e)
    message = "Error in Inserting into line" + e;
    throw new OAException(message, OAException.ERROR);
    else
    throw new OAException("You have entered duplicate no. of values", OAException.ERROR);
    else
    System.out.println("respoidid is null");
    break;
    deleteIter.closeRowSetIterator();
    public String checkRespId(String userid,String respoidid)
    String createRow="No";
    OAViewObject vo = (OAViewObject)findViewObject("CheckRespVO1");
    if (vo != null)
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0, userid);
    vo.setWhereClauseParam(1, respoidid);
    vo.executeQuery();
    System.out.println("ROW COUNT IS "+vo.getRowCount());
    if(vo.getRowCount()>0)
    createRow="Yes";
    else
    createRow="No";
    return createRow;
    Problem:
    I remove the duplicate entries and click on save and get this error.
    Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user.
    \nAction: Cancel the transaction and re-query the record to get the new data.
    Thanks,
    Sombit

    Hi Anil,
    I am trying out your code but stuck in inserting the rows
    using your code in URL: http://oracleanil.blogspot.com/2010/09/oaf-passing-table-type-object-to-oracle.html
    I am always getting the same exception i.e COde blast in when I run.
    My modified code is:
    String[] as = null;
    Number[] vNumber = null;
    Number[] vNumberrespid = null;
    Number reqidnumber = null;
    reqidnumber = new Number(Integer.parseInt(reqid));
    Connection txn = getOADBTransaction().getJdbcConnection();
    String mCreateSearchRequestStatement = null;
    OAViewObject vo = (OAViewObject)findViewObject("RespLineVO1");
    int j = vo.getFetchedRowCount();
    try
    System.out.println("abouce try");
    vo.reset();
    if (vo.getFetchedRowCount() > 0)
    System.out.println(String.valueOf("Fetched row count ").concat(String.valueOf(vo.getFetchedRowCount())));
    int i = 0;
    as = new String[j];
    vNumber = new Number[j];
    vNumberrespid = new Number[j];
    while (vo.hasNext())
    vo.next();
    System.out.println(String.valueOf("Inisde the do while loop").concat(String.valueOf(i)));
    vNumber[i] = (reqidnumber);
    vNumberrespid = ((Number)vo.getCurrentRow().getAttribute("ResponsibilityId"));
    as[i] = String.valueOf(vo.getCurrentRow().getAttribute("ResponsibilityName")).concat(String.valueOf(""));
    System.out.println("Request ID "+reqidnumber[i]);//getting null even there is some value selected
    System.out.println("ResponsibilityId "+vNumberrespid[i]);//getting null even there is some value selected
    System.out.println("Resp Name "+as[i] );//getting null even there is some value selected
    i++;
    CallableStatement cs = txn.prepareCall("{call XX_PassTableType.XX_PassTableType_prc(:1, :2,:3)}");
    ARRAY array = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumber);
    ARRAY arraynew = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumberrespid);
    ARRAY array1 = new ARRAY(new ArrayDescriptor("APPS.JTF_VARCHAR2_TABLE_100", txn), txn, as);
    cs.setArray(1, array);
    cs.setArray(2, arraynew);
    cs.setArray(3, array1);
    cs.registerOutParameter(3, 2003, "JTF_VARCHAR2_TABLE_100");
    cs.execute();
    ARRAY error = null;
    error = (ARRAY)cs.getArray(2);
    if ((error != null) && (error.length() > 0))
    System.out.println(String.valueOf("Error is ").concat(String.valueOf(error.getArray())));
    String[] retError = new String[j];
    retError = (String[])error.getArray();
    System.out.println(String.valueOf("Error in saving data").concat(String.valueOf(retError[0])));
    cs.close();
    catch (Exception exception)
    throw new OAException("code blast", OAException.ERROR);
    Thanks,
    Sombit

  • Dynamic LOV Columns

    Hello.
    Is it possible to make the column name and the return item also dynamical?
    Especially the return item is important for me.
    At the moment the only things I can manipulate are the column title and the width.
    (set_lov_column_property)
    Thank you for your help and sorry for my bad english. ;)
    Stefan

    Thanks for the Info about the Forms parameter. I've never seen them before.
    But I stay at my solution because I need the dummy block also for other things and the whole project becomes an .olb at the end. And there it is better to user an dummy block instead of single parameters.

  • How to make one of the columns in my tabular an text item with popup lov

    Hello,
    I want to manually make one of the columns say for the deptno in my tabular form as on text item popup lov using apex_item package
    and whenever user clicks on the text item popup lov, it should open up an dept table report and from which he/she needs to select
    the deptno and this deptno should be returned into the text item popup lov column.
    like for example: say if i have an emp table tabular form with all the columns and deptno column as an popup lov and when user clicks on this column
    it should open up an new sql report(similar to popup lov window), the select statement for this would be
    select deptno,dname,loc from dept order by 1;
    And from this popup lov report whenever an user selects a particular deptno, the same deptno should be returned to my text item popup column in emp tabular form.
    something like this
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    APEX_ITEM.TEXT(3,deptno,20,50,'readonly=true') || '<img height="16" align="middle" width="16" style="vertical-align: middle;" alt="Popup Lov" src="/i/lov_16x16.gif"/>' deptno
    from "#OWNER#"."EMP"
    like i made my column as an text item lov and now I want to write an onclick event for the text item lov so that an popup window is displayed which is a sql report of the table dept (select deptno,dname,loc from dept order by 1;) and in this report i want to make deptno as an link so that when ever an user clicks on it
    -- this value should be returned to my text item popup lov column deptno in the emp tabular form.
    can anyone help me out with this issue.
    thanks,

    Hi,
    Refer to the link for the detailed information on ALV Grid.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Hope it helps.
    Regards,
    Rajesh Kumar
    Edited by: Rajesh Kumar on May 25, 2009 9:13 AM

  • Typing in LOV 'find' and narrow down the list by second column

    Hi,
    Does anybody know how to narrow down the LOV list by 'Find' to let system look up the second column instead of the the first one?

    Hi,
    I think there is no way in forms to do this, coz The "find in LOV" is applicable only for the first lov column.
    There is a workaround: Try to bild a queryeable multi-block pop up module which could be invoked when you enter the lov field.
    Hope that helps,
    CB

  • Mandatory fields in a LOV

    I have a view in which I've added attributes from an entity to make a LOV. These attributes are mandatory in said entity. Foreign key in the view (and in an underlying entity) is not mandatory however (it can be null).
    When I drop this LOV column onto a page as an InputText with ListOfValues, resulting form field is required (and it will show an error if I leave it empty and try to submit the form). That is not what I expect. The entity referenced from a view is not updatable, the underlying entity is.
    How can I have an optional field with a LOV, not making referenced entity columns non-mandatory?

    Hi,
    Try after remove required attribute in your LOV
    required="#{bindings.YourField.hints.mandatory}"

Maybe you are looking for

  • How can I get a new rear cover for iphone (not 3G)

    I have the older iphone 16GB (not 3G). it was broken when I dropped it. I tried taking it apart, and of course, I bent the aluminum back cover of the phone and can't get it back to the exact shape it was in before I bent it. Does anyone know where I

  • Record more than 2 programs...

    Is Verizon ever going to release a STB with the ability to record more than two programs at once?  I have two HD STBs sitting together and they handle my recordings. However, the down side is that I don't have the ability to cross check shows across

  • Highlighting a character in iMovie

    I am trying to figure out if it is possible to highlight my daughter playing in a soccer match so she will be more easily identifiable from the other players in the iMovie I am attempting to make.

  • What's the differences if I registe a table or not?

    responsibility: application developer navigate : Application->Database->Table does anyone know what's the use of registing a table in this function? what's the differences if I registe a table or not? thanks. Peter

  • Failed: 4x Host[hostname] error: NewMovieFromFile Failed -2048  Help please

    I have seen a lot of talk about this error but none of it really applies to my situation. Failed: 4x Host[hostname] error: NewMovieFromFile Failed -2048 I am compression a large number on video files most of them are media100 or mpeg4 or mpeg2. Most