switching from reports using list item - missing data on initialization

Hello

I have two interactive reports (one with view and secondly with line of business)... I greeted my users to pass from prod/LOB (using the list item)... I use LOB view as default view

My problem is that when the user connects to the view BUSINESS application report is displayed by default (of your choice), but contains no data (the message: no data found) until I have switch to view (via the list item) and then switch to view return LOB... Not sure what is the cause


I've stored sample on APEX. ORACLE.COM for review and comment

Here are the credentials:


Please note that the form is on page 2

Thanks in advance

Published by: qwe12654 on April 21, 2011 15:26

Hey Tal,

Try the page now

When you base reports on page elements, you must ensure that these elements have values already stored in the session. I added two calculations to your page that define the year and product/lob select list values if they are null.

Andy

Tags: Database

Similar Questions

  • Interactive report using month Picker Plugin-date maximum one month given values of display column?

    create table test

    (

    The user ID number,

    created_on date

    )

    Insert into test values(1,'03/11/2014');

    Insert into test values(1,'03/27/2014');

    Insert into test values(1,'04/14/2014');

    Insert into test values(1,'02/20/2015');

    Insert into test values(1,'02/27/2015');

    Insert into test values(2,'03/10/2014');

    Insert into test values(2,'03/19/2014');

    Using http://www.Oracle-and-apex.com/plugin-month-picker/ in report interactive apex:-

    I want the answer which is the maximum date of the month and year

    for a specific user for the month selected

    For example if I chose March 2014

    as input is 03-2014

    so it should display

    username created_on

    1 27/03/2014

    2 03/19/2014

    Help, please

    oracle 11 g r2 database version

    Apex Oracle version 4.2.4

    ReemaPuri wrote:

    create table test

    (

    The user ID number,

    created_on date

    )

    Insert into test values(1,'03/11/2014');

    Insert into test values(1,'03/27/2014');

    Insert into test values(1,'04/14/2014');

    Insert into test values(1,'02/20/2015');

    Insert into test values(1,'02/27/2015');

    Insert into test values(2,'03/10/2014');

    Insert into test values(2,'03/19/2014');

    Http://www.oracle-and-apex.com/plugin-month-picker/ in report using interactive apex: -.

    I want the answer which is the maximum date of the month and year

    for a specific user for the month selected

    For example if I chose March 2014

    as input is 03-2014

    so it should display

    username created_on

    1 27/03/2014

    2 03/19/2014

    Help, please

    oracle 11 g r2 database version

    Apex Oracle version 4.2.4

    Based on the information provided:

    select
        userid
      , max(created_on)
    from
        test
    where
        created_on >= to_date(:p1_month_picker, 'mm.yyyy')
    and created_on < add_months(to_date(:p1_month_picker, 'mm.yyyy'), 1)
    group by
        userid
    

    However, I suspect that the information provided is not the full story...

  • eliminate null values from the popup list item

    Dear all,

    I have create a contextual list at run time, it indicates a value empty nowhere among the values that I said while the drop-down list box is not.
    I want to eliminate the value null empty in the pop-up list.
    Need help.

    Thank you and best regards.

    Muhammad,

    Try the following code. I just gave a name to the field 2nd in the record group and first assigned default value. And his works fine.

    PROCEDURE Department_proc IS
         RG RECORDGROUP;
         n  NUMBER;
         GC_ID     GROUPCOLUMN;
    BEGIN
         Remove_Record_Group('RG');------ this is another procedure which checks for Record group existance and remove it.
         RG := CREATE_GROUP_FROM_QUERY('RG4', 'SELECT NAME, TO_CHAR(DEPT_ID) DEPT_ID FROM TAB_DEPT_SECTION
    UNION
    SELECT '||'''All Departments'''||'AS NAME,'||'''0'''||' AS DEPT_ID FROM DUAL');
         n := POPULATE_GROUP(RG);
         POPULATE_LIST('control_block.department', RG);
      GC_ID := Find_Column('RG4.DEPT_ID');
      :control_block.department := GET_GROUP_CHAR_CELL(GC_ID, 2);
    END;
    

    Kind regards

    Manu.

    If my response or response from another person was helpful, please mark accordingly

  • Refreshing Flex list item

    Hello

    I'm coding application mini cat in Flex 3.0 with PHP & MySQL.  Can I insert data in TextInput, also I can get data from database, but I have a little problem. I added a timer to update the list item (List item becomes data in mysql). But I could not. I updated the ArrayCollection collection, but it does not work.

    Here are some application codes.

    " < mx:HTTPService id = 'db2' url = ' http://localhost/Flex/list.php "result ="resultHandler (event)"/ >

    [Bindable]
    var datalist: ArrayCollection collection;

    private void resultHandler(e:ResultEvent):void {}
    DataList = db2.lastResult.data.chat;
    lst.dataProvider = datalist;
    }

    < mx:List labelField = "tex" width = "322" height = "216" id = "lst" editable = "false" / >

    What should I do?

    Thank you

    Here is an example very dirty how do, he needs a lot of storage but I leave you for this

    Flex code:

    
    
    
        
            
        
    
        
            
                
                    {dataDump}
                
            
        
    
        
            
                
                    {newMsg}
                
            
        
    
        
        
        
    
    
    

    sendMsg.php

    
    

    getMsg.php

    ".$row["message"]."";
        }
    
    ?>
    

    This is the structure of database as well

    I tested it on my computer and it works quite well, so if it still does not respond, you have something else goes wrong.

    Also, note what happens when you remove the dataDump of the HTTPService.

  • Use the project start Date and duration to calculate the end Date of project

    I'm trying to calculate the end date of the project in a report using the project end Date and time entered on the opportunity.
    For example, if the start date of the project filled an opportunity is 31/01/2009 and the length (integer) is entered on the opportunity is 5, the project end date is in the report must be 30/06/2009.

    I'm trying to TIMESTAMPADD forumaul allows you to add the duration (number of months) to the project start date
    This Fx works TIMESTAMPADD (SQL_TSI_MONTH, 12, '-used Custom Attributes ".) DATE_40)
    But if I try to replace the number twelve by the length (integer field) I get an error when you try to save: TIMESTAMPADD (SQL_TSI_MONTH, "-opportunity Custom Metrics".) S_INT_0, '-used custom attributes. DATE_40)

    Any ideas on how I can get this to work would be greatly appreciated.

    Hi, try this. It might solve your prioblem TIMESTAMPADD (SQL_TSI_MONTH, CAST (YOUR FIELD AS INTEGER), account. (' "Last modified")

    -John CRMIT

  • list item using xml from a django view


    I'm with django to deliver xml from a postgres database files. I have the connection using a HTTPService. I'm not able to get the XML to provide data to a list item.

    The mxml application is below:

    Quote:
    <? XML version = "1.0" encoding = "utf-8"? >
    < mx:Application
    ' xmlns:MX =' http://www.adobe.com/2006/mxml '
    layout = "absolute" >

    < mx:Script >
    <! [CDATA]
    Import mx.events.MenuEvent;
    Import mx.collections.ArrayCollection;
    Import mx.collections.XMLListCollection;
    Import mx.rpc.events.ResultEvent;
    Import mx.controls.Alert;


    [Bindable]
    private var emails: XMLListCollection = new XMLListCollection();
    [Bindable]
    private var units: collection ArrayCollection = new ArrayCollection();

    private void handleLoginClicked(event:MouseEvent):void {}
    svcAccountLogin.send ({username: "admin", password: "admin"});
    }

    private void handleLoginResult(event:ResultEvent):void {}

    trace (Event);
    trace (Event.Result);
    email = Event.Result.allMails.mail;
    Units = Event.Result.allUnits.Unit;

    }
    []] >
    < / mx:Script >

    < mx:HTTPService
    ID = "svcAccountLogin".
    "URL =" http://192.168.1.100:8080/accounts/login /? = / maillog following / "
    method = "POST".
    resultFormat = "xml".
    result = "handleLoginResult (Event)" / >


    < mx:VBox = "76" x y = "62" height = "100%" id = "loginUserPass" label = "Enter Username, password here" >

    < mx:Button id = "submitLoginBtn" label = "Login" click = "handleLoginClicked (event)" / >

    < mx:List id = "mailId".
    number of lines = "1".
    dataProvider = "{mails}.
    labelField = "mailFrom" >

    < / mx:List >
    < / mx:VBox >

    < / mx:Application >
  • Cannot run microsoft outlook; message says use Inbox Repair tool (scanpst.exe) how can I do? In addition, how to restore windows media player; the program name is missing from the selection list.

    Message says:

    C:\users\deaconmike\appdata\local\MicrosoftOutlook\Outlook.pst

    Quit Outlook and all mail inabled applications, then use the repair tool Inbox (scanpst.exe) to diagnose and repair errors in the file.  For more informaion about the Inbox Repair tool, see Help.

    Hello

    1. from which the program (Windows Media Player) selection list is missing?
    2 have you checked in the Windows features?

    I suggest that you follow the steps mentioned below.

    Step 1:

    Check if Windows Media Player is disabled in Windows Features.

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-features-on-or-off

    Step 2:

    I suggest that you run SFC scan on your machine to verify if this is related to missing or damaged system files.

    As regarding problems with Outlook, I you should post the question in the forums of Outlook.

  • ODI extract data from HFM using hierarchies / members whose list of filters

    Hi all

    is it possible to use lists of members or hierarchies from account to account and filter data HFM LKM to SQL entity?

    In the example:

    ACCOUNT_FILTER = AccList (where AccList is a list)

    or

    ACCOUNT_FILTER = AccX. * (where the CAC is a parent account and we want that all his children)

    ODI, Version 10.1.3.6.5

    Thank you

    I don't think it's possible, you must provide a list of the accounts comma separated values

  • How to display the list item values both from 2 different tables?

    Hello world.

    I have a problem for the display of the data.

    There are 2 tables in the database.

    Table-1 has lc_value, lc_no, lc_dt, and vendor_code columns.

    Table-2 has vendor_code, $vendor_name & vendor_address.

    I created the form where I display data in list item 30 (tabular presentation - 30 records displayed).

    I need to display all values automatically at the same time in the form just by clicking on "Enter_Query" and "Execute_Query".

    It worked when the form had fields in a table in a single table.

    I created fields in a table for tables; then created the relationship between the tables by using the join (vendor_code).

    But when I run the form, click on "Enter_Query" and "Execute_Query", its does not work.

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    How can I do this?

    Help me.

    Thank you.

    Dear Bruno,

    Each provider code is to have a folder, then

    Why keep two tables?

    Why you want to update both the table at the same time?

    Master / detail means,.

    a master record depends on several detail records.

    Please, understand and try to build your form with single table.

    If you have already created 2 tables, then merge these into a single table.

    Or other wise keep table_1 as a database block and to vend_name as a data field (element of database in the palette of the property is set to 'no').

    Then go to the trigger of table_1 block post_query and write the following:

    Select vend_name in: vend_name from vendor_mst where vend_cd =: lc_vend_cd;

    In doing the above, the form will look as you wish but the change on the vend_name not to be saved because that is the point of no database.

    Other than vend_name all fields in table_1 will be recorded.

    Hope this will help.

    Post edited by: Priyasagi

  • How to update the table when change list item in the classic report

    Hello
    I worked with apex 4.2 and I create normal classic report with list (named loved) select a column, now I want to update the table when the user changes the list with the new value, I can't create a dynamic action to do this, I create checkbox with the primary key and the loop for check point to update the table but I can not get the value of the list item. and for more speed, the user want to do it when changing the value from the list.

    My question
    1. how to do it in javascript and get the value of the list item and update the table with the new value
    2. do I have to use the API to create the list item so I can get the value of the report item or what.





    Thank you

    Ahmed

    You can find a lot of information in this forum (and outside in google) when you search for AJAX processes and demand. However, the tutorial in the link below should be useful:
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/hol08/apexweb20/ajax_otn.htm

    BTW, if we answer your question, don't forget to mark the appropriate post as correct. It will help all of us in the forum.

  • Missing data in XP after the transfer from one machine to another

    3 xp machines do a restore destructive on a saved data machine xp in 2 files twice, the xp machine, the data are on slow so I put it in another to copy the disk after the machine notes that the data he copied only half and the other half is missing. I was single click copy right and whenever I do more data are missing? Idea of this itn was the first time I work with several types of OS but XP is the only one who did this is there a solution?

    Hi HarrisonLane,

    You can run a check disk on the hard drives & check if the problem persists.

    How to perform disk error checking in Windows XP

    It may be possible to recover the missing files by using data recovery software. There is no Microsoft recovery tool to recover the lost data. However, you can use your favorite search engine and download any third-party data recovery software.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope the helps of information.
    Please post back and we do know.

  • How to get the content of the list item selected ListView using CPP?

    Hello

    I do a simple application, get the content of the list item selected ListView using CPP, in the main.qml file, I created a listview using XMLDataModel and I got the selected listview using dataModel.data (row) .attributeNameInXmlfile in qml. content as in the same way the ListView using cpp.please help me I want to get the content of the listitem selected.

    Here is my code

    hand. QML

    import bb.cascades 1.0
    
    Page {
        content: Container {
            id: mainContainer
            objectName: "container"
            // property alias selectedText: selectedTextField.text
            //property alias deselectedText: deselectedTextField.text
            ListView {
                objectName: "listView"
                dataModel: XmlDataModel {
                    source: "models/items.xml"
                    id: model
                }
                listItemComponents: [
                    ListItemComponent {
                        type: "item"
                        StandardListItem {
                            title: ListItemData.title
                        }
                    }
                ]
            }
            TextField {
                id: selectedTextField
                objectName: "selectedTextField"
                text: ""
            }
            TextField {
                id: deselectedTextField
                objectName: "deselectedTextField"
                text: ""
            }
        }
    }
    

    App.cpp

    #include "app.hpp"
    
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    using namespace std;
    
    using namespace bb::cascades;
    QObject *textFieldSelected ;
    QObject *textFieldNotSelected;
    QObject *list;
    App::App() {
        QmlDocument *qml = QmlDocument::create("main.qml");
        AbstractPane *root = qml->createRootNode();
        list = root->findChild("listView");
        textFieldNotSelected = root->findChild("deselectedTextField");
        textFieldSelected = root->findChild("selectedTextField");
        QObject::connect(list,SIGNAL(selectionChanged (QVariantList, bool)),this,SLOT(changeText(QVariantList, bool)));
        Application::setScene(root);
    }
    
    void App::changeText(QVariantList indexPath,bool selected) {
    
    }
    

    App.HPP

    #ifndef APP_H
    #define APP_H
    
    #include 
    #include 
    #include 
    
    /*!
     * @brief Application GUI object
     */
    class App : public QObject
    {
        Q_OBJECT
    public:
        App();
    public slots:
    void changeText(QVariantList ,bool );
    
    };
    
    #endif // ifndef APP_H
    

    Try this.

    void App::changeText(QVariantList indexPath,bool selected) {
        XmlDataModel *model = (XmlDataModel *)list->dataModel();
        QVariantMap map = model->data(indexPath).toMap();
        // map is your data in QVariant
        qDebug() << map["title"].toString();
    }
    
  • Refresh the report based on the select list item

    Hello world

    Someone has the answer to refresh a report based on an element that I select in a select list? I currently have the item in the list of selection and a report under him I wrote a sql that fills with data. If I choose an article in my select list, I want to change the data in my report. What I have to write separate sqls for each item to be fired or write some type of process. Can someone help me?

    Thank you
    Ryan

    Write directly in the SQL report. Your select list item will be the variable in the SQL.

  • Switch poplist display of the list item selected for its value of list item

    Is it possible to change the display in a poplist of the list item to its corresponding list item value?

    For example, I have a list item is filled with a group of records. Name of the country (e.g., Canada) is the list item, and the country code (e.g. CA) is the value of a list item.

    I want users to be able to see the names of countries, when the list is expanded. However, once users choose and click on a country, the country code must be included in the display.

    I suppose that if it is possible to do at all, he would be using a trigger a times-news-point-instance, but I do not know where to go to from there. Please let me know if you need clarification or more information from me. I'd appreciate any help you can give me.

    With the help of Oracle Developer Suite 10 G
    Version of Forms - 9.0.4.3.0

    Hello
    Welcome to the forum,

    Just an idea. Why you do not keep the country with the description at the time code. I mean, it's like you say you query group will be like this...

    SELECT code, description
    FROM table_name;
    

    So, I mean just change this query to concatenate the code with description. for ex.

    SELECT code, code||' - '||description as description
    FROM table_name;
    

    It will show you the code and the name in the list. So, it will not trigger etc.

    -Clément

  • What pins to use to receive the data from the PDS ELITE RS485 with the PXI-8431/2?

    Hello!

    I use the PXI-8431/2 to read data from the flow meter PDS ELITE (Modbus RTU). Receiving data, the RS485 protocol request to terminals 4 and 5, but this configuration does not seem to work. When I connect the RS-485 converter USB of Microflex I get the data correctly, so somehow between the PIN lay and PXI this problem there.

    Can someone help me?

    See you soon,.

    Steven

    Hello Steven,

    I think that what was Hossein trying to send you is the following:

    How to connect and configure a device with RS-485 2-wire

    Can you also tell me a little more what you use to read the data? What environment. You have 2-wire or 4-wire Modbus RTU?

    Kind regards

Maybe you are looking for