QBE Report and Dynamic LOV

I have a QBE Report on a table "A" where the value of a field "F" is the "id", of another table "B".
For populating the table "A" I have create a form that uses a dynamic LOV (select name, id from B).
In the QBE report, the value of "F" is the id, instead of the "name". How can I display the name?
Moreover, if I "Update" a record, I would like to have (in the form for updating) the combobox with the complete LOV and NOT the text box with the id.
How can I do that?
thanks

Hi,
This happens in the case when a webview component has been added to a page and the mode selected is EXCEL. You see the excel dump on the screen.
This was a bug and has been fixed in 902.
Incase U want an excel report then you would have to use the RUN options available from the manage screen or navigator .This brings up a save option.You can open it or save the same and then open it.
Thanks,
Anu

Similar Messages

  • Popup list manager and dynamic LOV

    I'm stumped, stuck and thought I was doing something simple. Here's what I have:
    1) Checkbox dynamically built (P3_CHECKBOX)
    2) A hidden field to store the checkbox values (P3_CHECKED)
    3) A popup list manager based on the hidden field.
    I am using JavaScript to populate the P3_CHECKED whenever P3_CHECKBOX is changed. However, my dynamic LOV based on the hidden field always returns no rows. The SQL for the LOV is:
    select application_role, role
    from roles_view
    where '%'||application||'%' LIKE to_char(:P3_CHECKED) order by 1
    Am I missing something simple? I know the hidden field is getting populated because if I change to field to text, I see the data change. There is also data in the table because executing the query using the data in P3_CHECKED returns the expected rows.
    Any help would be appreciated.
    Mike

    Mike,
    The lov query accesses the value of P3_CHECKED from session state. That isn't stored in session state until the page is submitted.
    Scott

  • Selecting both static and dynamic values in a report.

    Hello,
    I am using the following LOV for a select list in a form based on another post (Re: Static and Dynamic LOV ordering
    It is presenting five static values along with a dynamic LOV.
    select d, r
    from (select n, d, r
    from (select 1 as n, 'NAME_A' d, 1 r
    from dual
    union all
    select 1 as n, 'NAME_B' d, 2 r
    from dual
    union all
    select 1 as n, 'NAME_C' d, 3 r
    from dual
    union all
    select 1 as n, 'NAME_D' d, 4 r
    from dual
    union all
    select 1 as n, 'NAME_E' d, 5 r
    from dual
    union all
    select 2 as n,
    (LNAME || ', ' || FNAME || ' (' ||
    to_char(DOB, 'MM/DD/YYYY') || ')') display_value,
    ID return_value
    from my_name_table)
    ORDER BY n, r asc)
    The static display and return values do not exist in my_name_table, but the static return values are recorded in my_main_table when the user submits the form.
    The tables look like this:
    my_main_table:
    record_id
    name_id
    my_name_table:
    name_id
    fname
    lname
    How can I present the display values associated with the static return values recorded in my_main_table along with the dynamic display values in a report? I am currently presenting the dynamic portion in a report using the following select statment:
    select
    (my_name_table.LNAME||', '||my_name_talbe.FNAME) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID
    I have the additional problem that the static return values are not in my_name_table so the join in the last statement will not find the static values in my_name_table.
    Edited by: mterlesky on Feb 24, 2009 9:51 AM

    1. You will need to add an outer join to return all the values in the Main table.
    2. Then decode the values for the static LOV.
    Something like (this is not tested, but should give you the idea)
    select
    decode(my_main_table.NAME_ID,1,'NAME_A',2,'NAME_B',3,'NAME_C',4,'NAME_D',5,'NAME_B',(my_name_table.LNAME||', '||my_name_talbe.FNAME)) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID(+)
    This will all break if any of your static LOV ID values clash with your dynamic LOV ID values.
    I am now going to give you a long lecture about hard coding values ..... ;)
    Related info: http://simonhunt.blogspot.com/2009/02/how-to-cope-with-list-of-values-lovs.html
    I hope that helps
    Shunt

  • QBE Report all parameters UNCHECKED

    I'm calling a QBE report in dynamic page using "QBE_REPORT_NAME.SHOW_PARMS. It's working fine but I have over 100
    parameters and I don't want the user to uncheck
    paramaters and run the reports. I want the parameter form appear as all parameters UNCHECKED. the user can select the
    paramaters required and run the report.
    any idea how this can be done?
    Thanks
    Vimal

    Hi,
    You can run the customization screen and uncheck all the parameters and save it by clicking on the save button. This you
    need to do it the first time. Next time when the customization form is run all the parameters will be unchecked. The user can then select
    the parametes and run it.
    Thanks,
    Sharmila

  • Problem with dynamic LOV and function

    Hello all!
    I'm having a problem with a dynamic lov in APEX 3.0.1.00.08. Hope you can help me!
    I have Report and Form application. On the Form page i have a Page Item (Popup Key LOV (Displays description, returns key value)).
    When i submit the sql code in the 'List of vaules defention' box. I get the following message;
    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.
    When i excecute the code below in TOAD or in the SQL Workshop it returns the values i want to see. But somehow APEX doesn't like the sql....
    SELECT REC_OMSCHRIJVING d, REC_DNS_ID r FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    returns_dns_lov_fn is a function, code is below;
    CREATE OR REPLACE FUNCTION DRSSYS.return_dns_lov_fn (p2_dns_id number)
    RETURN dns_table_type
    AS
    v_data dns_table_type := dns_table_type ();
    BEGIN
    IF p2_dns_id = 2
    THEN
    FOR c IN (SELECT dns_id dns, omschrijving oms
    FROM d_status dst
    WHERE dst.dns_id IN (8, 10))
    LOOP
    v_data.EXTEND;
    v_data (v_data.COUNT) := dns_rectype (c.dns, c.oms);
    END LOOP;
    RETURN v_data;
    END IF;
    END;
    and the types;
    CREATE OR REPLACE TYPE DRSSYS.dns_rectype AS OBJECT (rec_dns_id NUMBER, rec_omschrijving VARCHAR2(255));
    CREATE OR REPLACE TYPE DRSSYS.dns_table_type AS TABLE OF dns_rectype;
    I tried some things i found on this forum, but they didn't work as well;
    SELECT REC_OMSCHRIJVING display_value, REC_DNS_ID result_display FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    SELECT REC_OMSCHRIJVING display_value d, REC_DNS_ID result_display r FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    SELECT a.REC_OMSCHRIJVING display_value, a.REC_DNS_ID result_display FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) a order by 1
    Edited by: rajan.arkenbout on 8-mei-2009 14:41
    Edited by: rajan.arkenbout on 8-mei-2009 14:51

    I just had the same problem when I used a function in a where clause.
    I have a function that checks if the current user has acces or not (returning varchar 'Y' or 'N').
    In where clause I have this:
    where myFunction(:user, somePK) = 'Y'
    It seems that when APEX checked if my query was valid, my function triggered and exception.
    As Varad pointed out, check for exception that could be triggered by a null 'p2_dns_id'
    Hope that helped you out.
    Max

  • How can a classic report be filtered using one select item and dynamic action?

    APEX 4.2.1
    DB 11g
    I have a page with 4 reports on it.  The top report is an interactive report and the following 3 are classic reports.  The users would like to be able to use a select list to filter the 3rd report by PO line number without refreshing the entire page.
    After verifying that the report is set to allow partial refreshes, I took the following steps
    1.  Created a PO Line select item (p_po_line_select) in the same report region
    2.  Added p_po_line_select to the report query
    3.  Created a dynamic action on p_po_line_select with 2 true actions
         1.  Set value (p_po_line_select)
         2.  Refresh report region.
    The Set Value dynamic step was not working; I would get an out of memory error at line 2, memory stack error, or the value did not get saved to session state depending on the settings I selected.  I was able to get it working with the following set:
    1.  Action = Set Value
    2.  Set type = PL/SQL Expression
    3.  PL/SQL Expression = :p_field_does_not_exist
    4.   Page items to submit = blank
    5.  Selection Type = Item(s)
    6.  Item(s) = p_field_does_not_exist
    p_field_does_not_exist does not exist as a page or application item which leads me to believe that this is a bug and I am just lucky that it worked.  I would rather know how to do this properly.  Can someone please provide a link to a working example of how this should be done or state which settings are wrong?
    I was able to reproduce the issue in the following app
    http://apex.oracle.com/pls/apex/f?p=4500:1000
    workspace = occam
    user  test/apex1
    Thanks,

    STOP POSTING DUPLICATE THREADS.
    If you have additional information, continue the discussion by posting it as a follow-up on the original thread: What is the proper way to filter classic report using just an LOV select field with dynamic action?

  • How to make use of a static or dynamic LOV in Desktop Instelligence reports

    I want to use static LOV as well as dynamic LOV as a prompt for one of my report.
    I have created a dynamic LOV but I dont know how to include it as a prompt to my reports. Please teach me the same.
    For example I have two classes called COMPANY and EMPLOYEE in my universe. Each entry in the company class will have n number of employees in the employee class. My requirement is when I run the report it should prompt the user to select the company name which is a object in the COMPANY class. Based on the users's input the report should pull the employee data.
    For this I have to create a COMPANY name LOV and this should be used in the 'Conditions' section of the Desktop Intellegence.
    Please guide me for the same.

    Hi,
    LEt me know where u need the prompt object to be created in UNV or in report level.
    In Unv:
    Select Company name object-> double click it and in Select clause define as below
    @variable('1. Enter Company Name'')
    In Report level: Go to Query panel select Company class object in where clause and select required operator as LIKE OR IN LIST OR NOT IN LIST OR DIFFERENT FROM and select prompt and give some prompt message.
    Cheers,
    Suresh Aluri.

  • Dynamic LOV in report based on universe

    Hi experts,
    I have found the following thread and I understand that I can change the registry to have dynamic LOV for BOXI R2:
    http://scn.sap.com/thread/1524666
    Is it possible for BI4.1?
    Also is it possible for CR4E with .unx source?
    Regards,
    Gordon

    OK. The Path for 4.0 would be:
    32-bit machine:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.1\Crystal Reports\Database
    64-bit machine:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP BusinessObjects\Suite XI 4.1\Crystal Reports\Database
    And then create the string key per the suggestion in that thread.
    -Abhilash

  • Dynamic LOV in universe based report

    Hi,
    My question is simple.
    In Crystal Reports ,is it possible to have a dynamic LOV for the prompts when the report is based on universe? When ever the user chooses the drop down in prompt page, he should see only his values in LOV. This works in WebI.
    I read from the forum that in crystal, this can only be possible with Business View. Is this true?
    If i use Business view and the user opens the report in Infoview, does he needs DSN to use the connection i have created in Business View to refresh the LOV dynamically?
    Please suggest a solution for dynamic LOV as this started as a simple issue and i'm breaking my head to solve this!!

    Once you create any dynamic parameter in crystal which is using direct database connection and if you publish that report to server then it automatically generates a list of values using business view in repository in which the business view uses the same connection what you have used for the report. Now when you try to run the report in info view first it prompts for LOV from repository. Before refreshing the LOV it prompts to connect to your database and if you don't want this prompt to popup everytime then open the connection in business view manager and in the properties select never prompt by giving the database credentials.
    You can also create LOV using universe as datasource. To get the updated list you need to change the registry key settings like this
    select the option Always refresh before use in the universe properties and change the registry like this
    HKEY_LOCAL_MACHINE\software\business objects\suite 11.5\crystal reports\database\AlwaysRefreshUniverseLOV
    Type: String
    Recognized Values: Yes, 1
    HTH
    Raghavendra.G

  • Dynamic lov, Select List in Report

    Hi all,
    I have searched the APEX forum for dynamic lov but somehow no topic could really solve my problem.
    I have a report and 2 columns in this report are displayed as a select list. I want one of the select list show some values depending on the other select list in this report. If the value of the first select list is equal to some data the second select list should show a lov and otherwise nothing.
    All examples i have found so far seem to explain a solution for a select list item on the page and not for a select list in a report like in my case.
    Are there any advices or some links you can give?
    Thanks in advance
    Markus

    See http://htmldb.oracle.com/pls/otn/f?p=18326:54:1415328128204513::::P54_ID:1282
    and http://forums.oracle.com/forums/thread.jspa?messageID=1222153&#1222153

  • Using a LOV in an Update page for a QBE Report

    In my QBE Report-based portlet, I have set one of the fields to use a LOV.
    When I go into Customize for the portlet, that field uses the LOV, but when I click on the Update link for a row, the same field does NOT use the LOV.
    How do I make it use the LOV in the Update page?
    Thanks for any help!
    Regards
    Bryan

    Folks --
    Is this question a difficult one?
    I'd appreciate even a pointer...
    Thanks
    Bryan

  • How to create report with Fixed Labels and Dynamic Columns

    I have static column labels in left side of report and field in 3 columns coming dynamically from 3 different command queries.
    Please let me know how to create it..Following is the sample data for report.

    Following is the sample report. Left side lables are fixed.
    I tried using pivot table functionality, earlier discussed in the forum.
    But they are creating huge no.of records. As it will turn the rows into columns.
    Is there any way to get this report done normally.?

  • Difference between dynamic report and template

    I think the subject line covers it, I am trying to find out, that when I save the report, I can save it as static or dynamic report or as a template. but what is the diff between dynamic report and template?
    Thanks.

    Hi Zack,
    SAP provides some standard templates as report templates. The users are provided with the option to save their own versions of reports as 'Report Templates' for future use. As a super user one could create a custom template and save to the template library which the other users could access from the template library.
    For example if you have 'ACCOUNT' drilldown as a standard report template, you could define a new template as for example, 'Entity' drilldown template.
    Hope it is clear now.
    Thanks,
    Sreeni

  • Using Update and Delete Links in QBE Reports with a Template

    QBE Reports in Portal allow Update and Delete links against Report output rows.
    When run, if I press the Update link it displays a simple form and utilises the Template I specified for the Report (as expected).
    If I press the Delete link it displays a page with a default Oracle template (including Navigator, Home and Help buttons I wish to suppress)
    How can I get the Delete to use the specified Template?
    Any simple fix appreciated.

    QBE Reports in Portal allow Update and Delete links against Report output rows.
    When run, if I press the Update link it displays a simple form and utilises the Template I specified for the Report (as expected).
    If I press the Delete link it displays a page with a default Oracle template (including Navigator, Home and Help buttons I wish to suppress)
    How can I get the Delete to use the specified Template?
    Any simple fix appreciated.

  • Crystal Reports XII and Dynamic Images

    From an ASP.NET 2.0 web page I am executing a Crystal Reports that creates a photo album(actually a student directory) of from several dozen images to about 700.  The images are pkulled from a file system directory.
    The problem I am having is that frequently, not all the images render and I get my default "No Photo" original image I used whe n designing the report.  This is not consistent and there appears to be no pattern to the behaviour. 
    example:
    This morning I ran the entire directory exported to pDF of 700 photos and it worked fine.  Turn around, and run for maybe 150 records and it worked fine.  Ran again for 300 images and the first few pages had photos and then there were several pages with missing images.
    This is not a PDF export issue, because it is the same for the ReportViewer control, except tha tthere it will resolve itslef if I page forward and then back to the page again.
    I have adjusted the Crystal ImageCleaner settings, but have not achieved success with anything like acceptable results.
    These are my current settings:
              <add key="CrystalImageCleaner-AutoStart" value="true"/>
              <add key="CrystalImageCleaner-Sleep" value="1800000"/>
              <add key="CrystalImageCleaner-Age" value="0"/>
    The only thing I am really doing with the photo path is replacing part of the beginning of the path with the web server file system directory path in the Crystal Report:
    replace({MedStudentDirectoryList;1.PhotoPath}, {@SidPhotoDirectory}, {@OsacPhotoDirectory});
    This is not a logic issue, because a specific photo may appear in one execution of the report and then not appear in another execution.
    This appears to be a serious bug in Crystal Reports when running from the web.
    It also is driving up the CPU to about 50%.  I understand why this would be resource intensive, but 50% seems high.

    What version of Crystal Reports are you using?
    Have you applied any CR Service Packs?
    Ludek

Maybe you are looking for

  • Can I do this?

    I want to get the iPhone 4 but I can only get it for the early upgrade price. Nobody on our Family Plan is upgrade eligible either, everybody is only early upgrade eligible. I really do not want to pay $399 to get an iPhone. My older sister (not on t

  • Are there any software updates for the ipod touch 1st generation?

    I can't download any apps I want because the software isn't compatible!

  • Change the default of Free/Busy for an event in Outlook 2010

    Is it possible (as it was in old version) to set the Show As default for events? Thanks

  • Cascading LOV not working when the page is public

    Hi , I have a cascading LOV in a tabular form which I have built using Denes Kubicek example from http://apex.oracle.com/pls/otn/f?p=31517:176:2702932664861989::::: Thanks to this wonderful examle I was able to make my cascading lov work. However whe

  • Rename the file when submitting a form

    Hi, I've to send the form in PDF format and I've got various functions to do it: event.target.submitForm({cURL:"mailto:[email protected];[email protected]?subject=Submitt ed Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset