Dynamic LOV query will not be displayed

Hello,
we created the following record group
select ename, empno from emp order by 1
then we created a list of values depending on the record group:
We added ename to  emp.mgr and empno to null in the LOV
Then we changed  the emp.emg item to type CHAR and POPUP list
When we run the form nothing is displayed in the colum of MGR and only 1 record in th tabular form is displayed.
Please help us
Regards

When I save nimber with country code contact name will be displayed,
and if I store the number without the country code and I get a call it does not show the contact name!!
This problem exists for all Iranians!

Similar Messages

  • Problem in Dynamic LOV query

    Hi,
    I have a LOV in my page its query should be based on item condition.
    So I tried using Apex provided Dynamic LOV Query with IF.. ELSE.. END IF condition.. But when I use this and run the page it is giving error "URL NOT FOUND".
    My query is
       IF :MY_ITEM is not null THEN
       RETURN 'select ename ,eno
                    from emp
                    where eno = '''||:MY_ITEM||''' ';
       ELSE
        RETURN 'select ename ,eno
                    from emp
                    where ename = ''ALAKA''  ';
       END IF;But it is not working for me.
    Please anyone help me to solve this.
    Thanks
    Alaka

    Hi All,
    It worked for me. Just I modified my code a bit. Thanks to all for help.
    Just I did ,
       DECLARE
       BEGIN
             IF :MY_ITEM IS NOT NULL THEN
                RETURN 'SELECT ENAME,ENO
                            FROM EMP
                            WHERE ENAME = '''||:MY_ITEM||''' ';
           ELSE
               RETURN 'SELECT ENAME,ENO
                            FROM EMP
                            WHERE ENAME = ''ALAKA'' ';
          END IF;
          EXCEPTION
            WHEN OTHERS THEN
                HTP.PRN('ERROR'||SQLERRM);
       END;
    Thanks
    Alaka

  • Have a month number but QaaWs query will not run

    If I type in the parameters for the query it runs with no problem, but when I use the MONTH function that returns the month number the query will not run.
    I think the date serial number is what is being passed even though I see a number being display.  Does anyone know how to conver this MONTH() function to a true number?  This is a converted 4.5 model that works just fine, but looks like they tightened things up in 2008.
    Thanks...
    Tom Nather

    Here is how its setup.  I have a QaaWs query that returns the max date, then Excel functions that calculate the date back 13 months.  One of the functions is MONTH() that returns the month number based on a date stored in a cell, not really a true number.
    I added a vlookup that takes the month from a date field (05/31/2008) and looks up the appropriate NUMBER of the month =VLOOKUP(MONTH(K47),M54:M65,1). Find 5 (which is defined as a number.
    This then is applied to the input side for the Qaaws (Month Number = double) using a Paste Link function from the CONTROLS sheet in excel, and the query then works.
    Anything that is a date always seems to be built off of the date serial number so this was the easiest way to get this to work. 
    I think standards have been tightened up using the Flex language vs. what 4.5 was written in, this works in 4.5 without the necessary conversion.

  • LOV query is invalid, a display and a return value are needed

    hello - i am having this issue and can't get around this when creating a popup LOV based on sql.
    below is LOV query. as you see the view has only two columns. I tried various ways by giving alias to columns in query but nothing works. What did I miss here?
    select description,inventory_item_id from xx_apex_inv_v
    1 error has occurred
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.

    Did you try it like this?
    select description d, inventory_item_id v from xx_apex_inv_v

  • After installation of latest Bridge and Photoshop version (2014.2.2) *.CR2 files will not be displayed correctly, neither in preview nor in Camera Raw dialog.

    After installation of latest Bridge and Photoshop version (2014.2.2) *.CR2 files will not be displayed correctly anymore, neither in preview nor in Camera Raw dialogue.
    Some pictures have white squares with blue and red diagonal stripes that cover almost the complete picture.
    When opening those files I have the same problem in Camera Raw dailogue and even in Photoshop eventually.
    I tried to open the same same pictures on another computer with the same version of Bridge and Photoshop but the problem remains the same.
    It seems like the files itselves are still ok, because if you open an explorer window the previews of the pictures are all ok. And the pictures' sizes remain the same.
    I tried to clear the cache in both programs but it didn't help.
    Has anyone an idea????

    First see if a reboot of your PC helps.  If not,
    Resets may be in order:
    Photoshop: Press and hold Control - Shift - Alt immediately upon cold-starting Photoshop.  If you get the keys down quickly enough - and you have to be VERY quick - it will prompt you to confirm deletion of your established preferences, which will lead to them all being set to defaults.
    Bridge:  Start Adobe Bridge and immediately press Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS) until the Reset Settings dialog box appears. Select all three options--Reset Preferences, Reset Standard Workspaces, and Purge Entire Thumbnail Cache--and then click OK.
    Outdated graphics drivers can also cause display problems. Go to your GPU maker's website and be sure you have the latest drivers for your card model.

  • Adhoc Query data not getting displayed on Portal

    Hi,
    I have a problem with custom Adhoc query data not getting displayed on the portal.
    It was getting displayed initially but after a user made some changes to the query its not getting displayed.
    The query is displaying data perfectly on R/3 but on portal ..Its giving the message no data found.
    Can anyone help me on this.
    Also if anyone can tell me how do i debug an Adhoc query from potal.
    Is there any tool to debug an Abap program from portal.
    I dont want to use trace,
    Thanks
    GT
    Message was edited by: GT

    Hi GT
    find out the EXACT query u want to launch if it's display
    in BW buisness explorer then change the iview property
    for that query in portal . right click on iview
    BEx Web Application Query String -> assign correct query
    regards,
    kaushal

  • My contact names will not be displayed!

    Hi I live in Iran when my contacts call me Their Number with country code is displayed, But their names will not be displayed! in cheap phones,this problem does not exist! This problem is very weird! Check out this very big problem to fix before release 10.3 update Thanks Good Luck

    When I save nimber with country code contact name will be displayed,
    and if I store the number without the country code and I get a call it does not show the contact name!!
    This problem exists for all Iranians!

  • Bought a TCL Roku TV. Connection with Macbook Pro through HDMI will not show display on TV. Have tried various options with no success. Suggestions/solutions?

    Bought a TCL Roku TV. Connection with Macbook Pro through HDMI will not show display on TV. Have tried various options with no success. Suggestions/solutions?

    You could try updating your apple TV and then restarting it. Bit of a guess.

  • Flash chart with dynamic sql query does not display

    Hi,
    In my schema SIVOA I have a lot of tables declared like this :
      CREATE TABLE "SIVOA"."EVV_xxxx"
       (     "CLEF_VAR" NUMBER(4,0),
         "DATE1" DATE,
         "VALEUR" NUMBER(16,8) Only the last part of the name changes "xxxx". For example E009, E019, etc....
    I am making a chart page with report and want the user to select a name of a table and I will display using dynamic sql query, the table report and chart.
    P184_ENAME is a select list returning the last part of the name of the table, fro example 'E009', 'E019', etc.
    P8_CLEF_VAR is an item containing a value. This value is a key retrieved like this :SELECT CLEF_VAR
    FROM SIVOA.SITE_ECHELLE
    WHERE SITE = :P184_ENAMEI built a classic report using a sql dynamic function :DECLARE
    x VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
    || UPPER(:p184_ename)
    || ' WHERE CLEF_VAR = :p8_clef_var' ;
    RETURN (x);
    END;:p8_clef_var is an itme containing the value '4544'.
    This works perfectly fine !
    When I use this sql fucytion into a flash chart it does not work. I get this message "No data found".
    I do not understand why a the report get a result and not the chart !
    But if i hard-code the number of the CLEF_VAR instead of fetching it from :p8_clef_var I get a nice chart ! Go figure !DECLARE
    x VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
    || UPPER(:p184_ename)
    || ' WHERE CLEF_VAR = 4544 ' ;
    RETURN (x);
    I cannot stay with the key (CLEF_VAR) hard-coded unformtunately !
    My question is how to get the chart displaying properly ??
    Thank you for your kind answers.
    Christian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Alex,
    Using your request, with the classic report I get results (data), but I get the same message with the Flash chart : "No data found" ! I don't know how to investigate this. i tried many things but nothing works.
    Christian
    PS I tried this :
    DECLARE
       X   VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, ROUND(VALEUR,2) FROM SIVOA.EVV_'
          || UPPER (:p184_ename) ||
          ' WHERE CLEF_VAR = '
          || :p8_clef_var ||
          ' AND DATE1 BETWEEN TO_DATE ('''
    ||:P8_DATE_DEBUT||''', ''DD/MM/YYYY HH24:MI'') AND TO_DATE ('''
    ||:P8_DATE_FIN||''', ''DD/MM/YYYY HH24:MI'')'
    RETURN (X);
    END; But it does not work either. I could find that the SLQ syntax generated is good becaus I put it into an item which display the return done by the pls/sql.
    What is sttange also with the classic report is that if I do click on next or previous to see another rows, I get the message "No data found". If I try to export the report I get an excel file with "No data fouid".
    Does anybody already tried my "need" here ? i find strange thant I should not be the firs one trying to get a report an tables which name would be "dynamic".
    Tahnk you.
    Edited by: Christian from France on Feb 13, 2009 3:05 AM

  • Dynamic LOV query

    Hi,
    Anyone can share with me of how to apply dynamic LOV?
    let say user choose messagechoice value = 'A' then messagelovinput will only execute query A and display the list of LOV values.
    if user choose messagechoice value = 'B' then messagelovinput will execute query B and display its LOV values.
    Pls help..

    yuchijoyce wrote:
    actually try to pass in parameter into the functions and return a list of values into the lov, is there any sample coding for reference?:( Not sure what do you mean by this??
    But if you want that to make use of a function that can give you list of value. Then you can follow the approach mentioned by Anil, thereby you will be creating a Function in database that is going to return different query based on conditions and you can base LOV vo object on this function.
    Hope it works :)
    Thanks
    AJ

  • Content Query Webpart not getting displayed in Mobile view

    Hi,
    I am having a Content Query Webpart in my page.
    In the mobile view it is not getting displayed.
    I read that you can create mobile adapters for the control. But I didnt get how to do it for Content Query Webpart.
    Any help appreciated..

    Is deactivate "Mobile view" a option for you? if then then CQWP will work in same page. You can deactivate that feature from site feature.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • What is wrong with this dynamic LOV query?

    I am trying to create a dynamic LOV which contains calendar week numbers, given a bind var containing the year. If the year given is this year I want the LOV to contain all weeks up to but not including this week, if the year given is in the past I want the LOV to contain all weeks in that year.
    Here is my query;
    select display_value, week_num from
    (select decode(
    :P31_YEAR,
    to_char(sysdate, 'YYYY'), to_number(to_char(sysdate, 'IW')),
    1+to_number(to_char(to_date('31/12/' || :P31_YEAR, 'DD/MM/YYYY'), 'IW'))
    ) max_weeks,
    level week_num,
    'Week ' || level display_value
    from dual
    connect by level < 54
    ) where week_num < max_weeks
    When I try to create the dynamic LOV Apex tells me the query is invalid. It runs in TOAD and as far as I can see follows the LOV query rules.

    Try this:
    select display_value d, week_num r from
    (select decode(
    nvl(:P13_YEAR,'2007'),
    to_char(sysdate, 'YYYY'), to_number(to_char(sysdate, 'IW')),
    1+to_number(to_char(to_date('31/12/' || nvl(:P13_YEAR,'2007'), 'DD/MM/YYYY'), 'IW'))
    ) max_weeks,
    level week_num,
    'Week ' || level display_value
    from dual
    connect by level < 54
    ) where week_num < max_weeks
    Scott

  • I have a similar question to the one Brendan posted a day or two ago. My wife's MacBook Pro will find my library for home sharing, but my ACER will not even display the home sharing icon. Home sharing on, latest version on iTunes.

    I want to get some music from my wife's MacBook Pro via Home Sharing. We both have Home Sharing turned on. Her's displays the Home Sharing icon, and recognizes my library. My ACER will not display the Home Sharing icon, and I cannot access her library. I have verified I have the latest version of iTunes, I have turned Home Sharing off and on again, and still no icon.

    I want to get some music from my wife's MacBook Pro via Home Sharing. We both have Home Sharing turned on. Her's displays the Home Sharing icon, and recognizes my library. My ACER will not display the Home Sharing icon, and I cannot access her library. I have verified I have the latest version of iTunes, I have turned Home Sharing off and on again, and still no icon.

  • Thinkcentre M93P Win 7 (64) Will Not Blank Display

    Brand new M93P will not blank the display. I have a DP-DVI Cable, Samsung monitor. I try all different settings in power manager, Win7, and can not get the display to blank after xx minutes. Ideas? Thanks
    Solved!
    Go to Solution.

    rjevans58 wrote:
    Tried all that was suggested from all contributors, still no luck.
    I noticed that the screen saver never comes on, regardless of the time settings, etc.  It's as if the PC thinks it is constantly busy with something.
    Thanks,
    Well, that's the "answer".  If you are not even getting the screen saver to come on, then there's no way the power-save mode (i.e. putting the monitor to sleep, so that its power LED changes color and the screen goes dark) will EVER kick in!  The second stage (i.e. power-save mode after some specified period of time of system inactivity) is dependent on the first stage first, where the screen saver kicks in after some specified period of system inactivity.  It's only when the period of system inactivity exceeds the screensaver time limit and now reaches the power-save time limit that the monitor will be put to sleep.
    So... something is running in your system which is convincing Windows that it is "active".  Normally this would require human interface activities, like mouse or keyboard, but it sounds like in your system some task is running in the background which is "keeping the system active", as if you yourself were touching the mouse or keyboard.
    I'd investigate using Task Manager, to see what's running.  It might not be a bad idea to run a "cocktail" of anti-malware elimination steps (as detailed in this "recipe") on the off-chance something malicious has insinuated itself on your system that you're not aware of.
    Excellent observation, about the screen saver never kicking in.  That's the "giant clue" that something is running on your system which is simulating a human interface, in my opinion.  Without first getting the screen saver as you should, you will NEVER get the power-save second stage as you want.

  • PL/SQL spatial query will not compile.

    I have a PL/SQL spatial query that will not compile, but the equivalent SQLPlus query works fine. I.e. (convert decimal degrees to degrees,minutes,seconds)
    Any thoughts much appreciated....
    THIS WORKS in SQLPlus
    select
    decode(rownum,1,decode(sign(b.column_value),-1,'W','E'),2,decode(sign(b.column_v
    alue),-1,'S','N'))&#0124; &#0124;
    to_char(abs(trunc(b.column_value,0)),'999')
    &#0124; &#0124;to_char(abs(trunc((b.column_value - trunc(b.column_value,0)) * 60,0)),'99')
    &#0124; &#0124;to_char(abs(
    (((b.column_value - trunc(b.column_value,0)) * 60) - trunc((b.column_value - tru
    nc(b.column_value,0)) * 60,0)) * 60
    ),'99.99')
    from route_location a, table(a.line.sdo_ordinates) b
    where a.route_adms_id = 13820370
    and record_seq_num = 26
    and rownum < 3
    BUT THIS DOES NOT
    ADMS>create or replace procedure PKG_route_loc_latlong_ins
    2 (iADMS_ID in INTEGER, iRSN in INTEGER,
    3 vcLAT out VARCHAR2, vcLONG out VARCHAR2) as
    4 cursor c1 is
    5 select decode(rownum,1,decode(sign(b.column_value),-1,'W','E'),
    6 2,decode(sign(b.column_value),-1,'S','N'))
    7 &#0124; &#0124;to_char(abs(trunc(b.column_value,0)),'999')
    8 &#0124; &#0124;to_char(abs(trunc((b.column_value - trunc(b.column_value,0)) * 60,0)),
    '99')
    9 &#0124; &#0124;to_char(abs(
    10 (((b.column_value - trunc(b.column_value,0)) * 60) -
    11 trunc((b.column_value - trunc(b.column_value,0)) * 60,0)) * 60
    12 ),'99.99')
    13 from route_location a, table(a.line.sdo_ordinates) b
    14 where a.route_adms_id = iADMS_ID
    15 and a.record_seq_num = iRSN
    16 and rownum < 3;
    17 BEGIN
    18 open c1;
    19 fetch c1 into vcLONG;
    20 fetch c1 into vcLAT;
    21
    22 EXCEPTION
    23 when others then
    24 vcLAT := 'ERROR';
    25 RAISE_APPLICATION_ERROR(-20002,
    26 'XXXXXXXXXXXXXX ');
    27
    28 END pkg_route_loc_latlong_ins;
    29 /
    Warning: Procedure created with compilation errors.
    ADMS>
    ADMS>show errors
    Errors for PROCEDURE PKG_ROUTE_LOC_LATLONG_INS:
    LINE/COL ERROR
    5/5 PL/SQL: SQL Statement ignored
    5/12 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    5/12 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    13/34 PLS-00201: identifier 'A.LINE' must be declared
    19/5 PL/SQL: SQL Statement ignored
    20/5 PL/SQL: SQL Statement ignored
    null

    try a
    FOR UPDATE OF ID NOWAIT;where ID is the name of a column in the table.

Maybe you are looking for

  • How to use Filter commands in WAD?

    Hello community, I am desperately trying to use the command wizzard in order to set a Filter to a chrarcateristic in an 7.0 web template: I have been trying these commands so far but it simply doesnt work: SET_SELECTION_STATE_SIMPLE SET_SELECTION_STA

  • Adobe Premiere Elements 11 Serial Code Invalid

    I bought Adobe Premiere Elements 11 from Amazon a few days ago because APE12 is not compatible with my computer, plus, I liked 11 when I tried it. I started to load the program into my computer, but when it asked for the serial number on the box, it

  • Exception occurred during event dispatching

    I'm facing a problem with dispatchCustomEvent() method while clicking a button on oracle form. The code is given below: package oracle.forms.finalbutton; import java.awt.*; import java.awt.event.*; import java.util.StringTokenizer; import javax.swing

  • Adobe Reader not recognizing tif files

    Why doesn't Adobe Reader recognize tif files?  I created a pdf portfolio using Adobe Acrobat X Pro.  I scanned a black and white document with my Canon flatbed and saved it as a tif file.  I am unable to import the tif file into the pdf portfolio and

  • What happened to Big Time Moms

    What happened to the latest episode of Big Time Rush? Sunday afternoon it was in the store and when I went to watch it it was the previous episode. When I went back to the store it was no longer available.