data model problem

I have the following code in my Flex application:

model.userStatus = new Collection ArrayCollection (event.result as Array);

model.userStatusSel = new Collection ArrayCollection (event.result as Array);

addAlltoFilterList = new Object();

addAlltoFilterList.CustCnt = 1;

addAlltoFilterList.UserStatCnt = 0;

addAlltoFilterList.UserStatus = ' All the ' ;

model.userStatusSel.addItemAt (addAlltoFilterList, 0);

The problem is when I add the word 'All' to model.userStatusSel, it is also added to model.userStatus. Can someone tell me why or how I can add the word "All" to a datamodel, but not a? I use these data in a ComboBox on several different forms. In one place I use it as a filter and want the word 'All' to appear. A different form I use it as a selected user data entry and do not want the word "All" appears. Thanks in advance for the help!

Have an ordinary day...

Kurtis ~ |  :-)

Try this:

model.userStatus is new ArrayCollection (event.result as Array) collection;.

model.userStatusSel = new ArrayCollection (model.userStatus.toArray ());

Who must break the link between the two, which are established, because you use event.result for both.

If this post answers your question or assistance, please mark it as such.

Greg Lafrance - Flex 2 and 3 certified ACE

www.ChikaraDev.com

Flex / development, training, AIR and Support Services

Tags: Flex

Similar Questions

  • Problems with the debugger in Data Modeler Beta DDL Custom Transformation Scripts

    Hello

    I use Oracle SQL Data model Beta 4.1.0.866.

    Currently, I am working on a project to generate the models in PHP for our relational database models MVC framework. Some settings must be entered from the user,

    so, I'm importing Java classes for JOptionPane in the Transformation of the customized with DDL Scripts

    var ji = new JavaImporter(java.io, java.lang, javax.swing, java.util);

    I can use these classes with no problems, but when I want to use the debugger, it cancels the execution with this error message:

    debugger_data_modeler.PNG

    Is this a bug or am I missing something here?

    And would it not possible and even preferable to processing entirely in Java instead of JavaScript scripts?

    Hello

    Try it following the syntax:

    var ji = new JavaImporter(java.io, java.lang, Packages.javax.swing, java.util);

    And would it not possible and even preferable to processing entirely in Java instead of JavaScript scripts?

    Well, it's not on the use of JavaScript, it's scripts in Java Platform - JSR 223 https://www.jcp.org/en/jsr/detail?id=223

    So if you have a JSR 223 engine of script in the JAVA virtual machine you can use your scripting language. We simply provide a setting where you can put your scripts to do something useful.

    We don't know in advance what language will be used. JavaScript engine is included in Java6 and Java7 so this is the reason why our examples are in JavaScript.

    Using Java instead of JavaScript don't make the job easier, look at the part of import here - Re: impossible to cast objects in the Script SQL DM 4.0 Transformation

    Philippe

  • Oracle SQL Developer Data Modeler 4.1 problem

    Hello:

    I m trying to use the new version 4.1 (BETA) of Datamodeler, but I have a problem at the time wherever I run the program.

    When I work the datamodeler.exe the console show me:

    UIDefaults.getUI () failed: no class ComponentUI for: oracle.ide.controls.StatusBarControl$ JDevStatusBar [, 0,0, 0 x 0, invalid...]

    Can you help me?

    Thank you.

    Hello

    Data Modeler 4.1 requires Java 1.8 can run correctly.

    If you try to run Data Modeler 4.1 with Java 1.7 it gets stuck in "Save the Extensions", and this error in the console log.

    When you try to start with Java 1.7 it normally gives a "JDK Version not supported" warning, which identifies the file that needs to be updated to refer to a jdk Java 1.8.

    Under Windows, this will normally be C:\Users\\AppData\Roaming\datamodeler\4.1.0.866\product.conf,

    But if you start from the console using the datamodeler64.exe it will use the file

    C:\Users\\AppData\Roaming\datamodeler64\4.1.0.866\product.conf instead.

    You can change this file.  Alternatively, if you delete the file, it should display the dialog box asking for the location of the JDK next time.

    David

  • EA3: Problems of data Modeller

    If I open a data model produced under SQL Developer 3.2.2 SQL Developer 4 EA3 logic model has the attributes column PK shows however that they are not referred to as a PK and FK all attributes are missing.

    Thanks for reporting this.  We recently became aware of this problem, which occurs when the opening of the models in EA3 created using SQL Developer version 3 or version 3 Data Modeler.

    This should be corrected in the next version.

    When it is available, we recommend that you use the original definition of version 3 of your model, rather than any version may have registered with EA3.

  • SQL Develeper Data Modeler download problems

    Hi all
    I try to download one of the packages Data Modeler FRO Web site and the Server expires always at the around of 900 k. He did it for more than a week where we download the program. Any of you have a different download location or to get information on who I need to contact?
    Thank you

    I downloaded at the same time both versions 2.0 and 3.0 EA1 (versions with Java) using the public connection and there was no problem – combined download speed was ~ 4Mbytes per second.
    You can try with another browser.

    Philippe

  • SQL - problem starting Data Modeler

    Hello
    I created a relational model with Oracle SQL Developer maker data, with a few tables, and everything worked ok.
    Yesterday, I made some changes to the model, add columns and another table, saved the template and closed the Data Modeler.
    Today - when I tried to open the template, I get only an error 'some objects are not loaded correctly. See the log file for more details"

    Shows that the newspaper at the bottom of the Data Modeler: ' Open Design: "model name" "and no details of what went wrong. No other details are provided and as far as I can see - and now I can't view the model at all.

    Any ideas how to find the problem / fix in order to retrieve the created model?

    Thank you
    Coenraad

    You must open the file ' a - erd2.xml ' (with text editor) and look for the name of your models - they are in such a construction:

              Logic
    ....

    You should not some special characters in the name of the party: <&>'.
    'Name' in the example above makes sense (the text between the opening tag and closing name - ). Normally the Modeler must handle these characters, but of course, there is a bug in the persistence of this file.

    Philippe

  • Problem in OPM Siebel data model import

    I use OPM 10.2 and havaing a question to import the Siebel data model in to OPM. I also have 10.2 Siebel connector, installed on the desktop.

    In OPM, I don't see the Siebel-> Import Data Model option in the menu.

    Y at - it no configuration changes that need to occur in OPM for this?

    Edited by: SP1D3R MAN on 17/11/2011 18:02

    1. make sure you have the Siebel 10.2.1 Oracel software delivery Cloud connector (formerly E-Devliery), there was a bug with the earlier 10.2 where the policy modeling Plugin did not work.

    2. make sure that the files Oracle.Modeling.Siebel.Exchange.dll, Oracle.Modeling.Siebel.Plugin.dll , there is the subdirectory Plugins Policy Modeling (default location C:\Program Files\Oracle\Policy Modeling\plugins)

    3. make sure that you use Policy Modeling 10.2

    If you manually copy the dll, they can be found in the download connector for siebel in the program files\Oracle\Policy Modeling\plugins\

  • Problem with the two EA DEVELOPER SQL DATA MODELING 3.0.0.665 and 3.1

    I created a model of very large data using SQL Developer data 3.0.0.665 and 3.1 EA maker. Its having a lot of check constraints. Whenever I am the design of the fence and the DOF and reopening export to import the DDL file failure to import completely check constraints. It is important to check constraints, but without any range of values inside. Its very frustrating because whenever you open import ddl, you must manually add again all the details of data check range constraint.

    OS: Windows XP.
    Check in the two EA Developer SQL Data Modeler 3.0.0.665 and 3.1

    -------------------------------------------
    Here are the contents of the .dmd file.
    -------------------------------------------
    * <? XML version = "1.0" encoding = "UTF - 8"? > *.
    * < OSDM_Design class = "oracle.dbtools.crest.model.design.Design" name = 'Admin_Panel' id = "9BE18B0A-6C67-2E5B-00DE-BD8312189ECB" version = "3.41" > * "
    * < createdBy > administrator < / createdBy > *.
    * < Createduserid > 2011-10-17 08:32:18 UTC < / Createduserid > *.
    * < Admin_Panel ownerDesignName > < / ownerDesignName > *.
    * < false capitalNames > < / capitalNames > *.
    * < designId > 9BE18B0A-6C67-2E5B-00DE-BD8312189ECB < / designId > *.
    * < / OSDM_Design > *.

    -------------------------------------------------------------------------------
    An example how the check constraints to get dirty.
    -------------------------------------------------------------------------------
    Initial check constraint is as below:
    ======================
    ALTER TABLE test_table
    ADD CONSTRAINT Active_Flag_ck
    CHECK (Active_Flag IN ('A', 'I'))
    *;*

    Below how it occurs once I have imported the ddl and re-export:
    ============================================
    ALTER TABLE test_table
    ADD CONSTRAINT Active_Flag_ck
    (CHECK)
    *;*

    I'm in trouble as I already in the middle of the my development using SQL Developer Data Modeler.

    Please help me soon.

    Jean

    Hi John,.

    Every time I'm fence design and export the ddl and reopening through the import of the DDL file

    Why are you doing this? Once the DDL file is imported and then save the drawing and open simply saved design, no need to generate the DDL and import it every time that you start Modeler data.
    On the list of values - forced as this CHECK (Active_Flag IN ('A', 'I')) are imported as constraint check plain and not as a list of values.
    There are the more specific elements import of check constraint - they are defined as type database constraint that you select during the import. Accordingly if you import your DOF as Oracle 10 g DDL, then you will get forced correct check in DDL generated for Oracle 10 g and Oracle 11 g. Constraint of evil will be generated for Oracle 9i. You can move the constraint for Oracle 9i (in the check constraint dialog box) or generic if it can be treated as such constraint.

    I logged for DOF bad bug.

    Philippe

  • Problem of data model ORA-00911: invalid character

    I am confronted with error when I run beep

    Help me


    < name of dataTemplate = "SrBysrtype" description = "ServiceRequestBySrtype" than one dataSourceRef = 'demo' defaultPackage = "BIP_DateRange" >
    < Parameters >
    < name of the parameter 'p_Fromsrdate' = 'char' dataType = / >
    < name of the parameter 'p_Tosrdate' = 'char' dataType = / >
    < / Parameter >
    < dataQuery >
    < SQLStatement instance name = "Q1" >
    <! [CDATA]
    SELECT
    incident. Incident_Number as ServiceRequestNumber,
    To_char (incident.incident_date,'DD-MON-YYYY "") as ServiceRequestDate,
    incident. Summary summary,
    agenttime. AgentName as Nom_agent,
    TO_CHAR (agenttime.agentstarttime,'DD-MM-YYYY HH24:MI:SS) as StartTime.
    TO_CHAR (to_date('00:00:00','HH24:mi:SS') +)
    (agenttime. EndTime - agenttime.agentstarttime), "HH24:MI:SS") as TimeSpent
    OF cs_incidents_all_b the incident cs_agenttime_agv agenttime, where & srwhereclause;]] >
    < / sqlStatement >
    < / dataQuery >
    < name dataTrigger = "beforeReport" source = "BIP_DateRange.BeforeReport ()" / >
    < dataStructure >
    < name of group = "G_SR" datatype = "varchar2" source = "Q1" >
    < element name = "Incident_Number" value = "ServiceRequestNumber" / >
    < element name = "Incident_date" value = "ServiceRequestDate" / >
    < element name = "Summary" value = "Summary" / >
    < element name = "nom_agent" value = "Nom_agent" / >
    < element name = "agentstarttime" value = "StartTime" / >
    < element name = "AgentDuration" value = "TimeSpent" / >
    < / Group >
    < / dataStructure >
    < / dataTemplate >





    create or replace
    package BIP_DateRange as

    srwhereclause varchar2 (1000): = ' ';
    p_Fromsrdate varchar2 (400);
    p_Tosrdate varchar2 (400);

    function BeforeReport return Boolean;

    end BIP_DateRange;




    create or replace
    package body BIP_DateRange as

    function boolean return BeforeReport is
    Start

    If p_Fromsrdate is not null then
    srwhereclause: = 'agenttime.incident_id = incident.incident_id | ' AND incident.incident_date between TO_DATE ('| p_Fromsrdate |', "DD-MON-YYYY")';
    end if;
    If p_Tosrdate is not null then
    srwhereclause: = srwhereclause | "AND TO_DATE ('| p_Tosrdate |',"DD-MON-YYYY")';
    end if;
    Returns true;
    end;

    end BIP_DateRange;




    help me I am new to BEEP with data model

    Hmm, can you send me an email to [email protected] please?

    I think that there are two different methods. In fact I have no test system for this here at the moment, so I can't try for me...

    Add two parameters to your package specifications:

    >
    create or replace
    package BIP_DateRange as

    srwhereclause varchar2 (1000): = '1 = 1';
    P_FROM varchar2 (400);
    p_to varchar2 (400);
    p_fromdate varchar2 (400);
    p_todate varchar2 (400);

    function beforereport (p_from varchar2, p_to in varchar2) return Boolean;

    end BIP_DateRange;

  • Group data model does not

    Hello

    I am developing a revision update for my app BB10 stunts and I use a data model to pull in the elements of the application do not forget; the only problem I encounter is that I can't get the data model of the group work so that I can arrange the items by the first character instead the data are currently presented as Z - A, even if I could get it to display in A - Z would be enough, but what I am looking to achieve is to get the model to display in A - Z and then sort by the first character, while a header for each letter is displayed.

    Here is the list (QML) and my data model (C++)

    ListView {
                                dataModel: _noteBook.model
    
                                listItemComponents: ListItemComponent {
                                    type: "item"
    
                                    StandardListItem {
                                        title: ListItemData.title
                                        description: ListItemData.status
                                    }
                                }
    
                                onTriggered: {
                                    clearSelection()
                                    select(indexPath)
    
                                    _noteBook.setCurrentNote(indexPath)
    
                                    _noteBook.viewNote();
                                    navigationPane.push(noteViewer.createObject())
                                }
                            }
    

    NoteBook.cpp

    #include "NoteBook.hpp"
    
    #include "NoteEditor.hpp"
    #include "NoteViewer.hpp"
    
    #include 
    
    using namespace bb::cascades;
    using namespace bb::pim::notebook;
    
    //! [0]
    NoteBook::NoteBook(QObject *parent)
        : QObject(parent)
        , m_notebookService(new NotebookService(this))
        , m_model(new GroupDataModel(this))
        , m_noteViewer(new NoteViewer(m_notebookService, this))
        , m_noteEditor(new NoteEditor(m_notebookService, this))
    {
        // First Character grouping in data model
        m_model->setGrouping(ItemGrouping::FirstChar);
    
        // Ensure to invoke the filterNotes() method whenever a note has been added, changed or removed
        bool ok = connect(m_notebookService, SIGNAL(notebookEntriesAdded(QList)), SLOT(filterNotes()));
        Q_ASSERT(ok);
        ok = connect(m_notebookService, SIGNAL(notebookEntriesUpdated(QList)), SLOT(filterNotes()));
        Q_ASSERT(ok);
        ok = connect(m_notebookService, SIGNAL(notebookEntriesDeleted(QList)), SLOT(filterNotes()));
        Q_ASSERT(ok);
    
        // Fill the data model with notes initially
        filterNotes();
    }
    //! [0]
    
    //! [1]
    void NoteBook::setCurrentNote(const QVariantList &indexPath)
    {
        // Extract the ID of the selected note from the model
        if (indexPath.isEmpty()) {
            m_currentNoteId = NotebookEntryId();
        } else {
            const QVariantMap entry = m_model->data(indexPath).toMap();
            m_currentNoteId = entry.value("noteId").value();
        }
    }
    //! [1]
    
    //! [2]
    void NoteBook::createNote()
    {
        // Prepare the note editor for creating a new note
        m_noteEditor->reset();
        m_noteEditor->setMode(NoteEditor::CreateMode);
    }
    //! [2]
    
    //! [3]
    void NoteBook::editNote()
    {
        // Prepare the note editor for editing the current note
        m_noteEditor->loadNote(m_currentNoteId);
        m_noteEditor->setMode(NoteEditor::EditMode);
    }
    //! [3]
    
    //! [4]
    void NoteBook::viewNote()
    {
        // Prepare the note viewer for displaying the current note
        m_noteViewer->setNoteId(m_currentNoteId);
    }
    //! [4]
    
    //! [5]
    void NoteBook::deleteNote()
    {
        m_notebookService->deleteNotebookEntry(m_currentNoteId);
    }
    //! [5]
    
    bb::cascades::GroupDataModel* NoteBook::model() const
    {
        return m_model;
    }
    
    QString NoteBook::filter() const
    {
        return m_filter;
    }
    
    //! [6]
    void NoteBook::setFilter(const QString &filter)
    {
        if (m_filter == filter)
            return;
    
        m_filter = filter;
        emit filterChanged();
    
        // Update the model now that the filter criterion has changed
        filterNotes();
    }
    //! [6]
    
    NoteViewer* NoteBook::noteViewer() const
    {
        return m_noteViewer;
    }
    
    NoteEditor* NoteBook::noteEditor() const
    {
        return m_noteEditor;
    }
    
    //! [7]
    void NoteBook::filterNotes()
    {
        NotebookEntryFilter filter;
    
        // Use the entered filter string as search string
        filter.setSearchString(m_filter);
    
        const QList notes = m_notebookService->notebookEntries(filter);
    
        // Clear the old note information from the model
        m_model->clear();
    
        // Iterate over the list of notes
        foreach (const NotebookEntry ¬e, notes) {
            // Copy the data into a model entry
            QVariantMap entry;
            entry["noteId"] = QVariant::fromValue(note.id());
            entry["title"] = note.title();
            entry["status"] = NoteViewer::statusToString(note.status());
    
            // Add the entry to the model
            m_model->insert(entry);
        }
    }
    //! [7]
    

    NoteBook.hpp

    /* Copyright (c) 2012, 2013  BlackBerry Limited.
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
    *
    * http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
    
    #ifndef NOTEBOOK_HPP
    #define NOTEBOOK_HPP
    
    #include 
    #include 
    #include 
    
    #include 
    
    class NoteEditor;
    class NoteViewer;
    
    /**
     * @short The controller class that makes access to notes available to the UI.
     */
    //! [0]
    class NoteBook : public QObject
    {
        Q_OBJECT
    
        // The model that provides the filtered list of notes
        Q_PROPERTY(bb::cascades::GroupDataModel *model READ model CONSTANT);
    
        // The pattern to filter the list of notes
        Q_PROPERTY(QString filter READ filter WRITE setFilter NOTIFY filterChanged);
    
        // The viewer object for the current note
        Q_PROPERTY(NoteViewer* noteViewer READ noteViewer CONSTANT);
    
        // The editor object for the current note
        Q_PROPERTY(NoteEditor* noteEditor READ noteEditor CONSTANT);
    
    public:
        NoteBook(QObject *parent = 0);
    
    public Q_SLOTS:
        /**
         * Marks the note with the given @p indexPath as current.
         */
        void setCurrentNote(const QVariantList &indexPath);
    
        /**
         * Prepares the note editor to create a new note.
         */
        void createNote();
    
        /**
         * Prepares the note editor to edit the current note.
         */
        void editNote();
    
        /**
         * Prepares the note viewer to display the current note.
         */
        void viewNote();
    
        /**
         * Deletes the current note.
         */
        void deleteNote();
    
    Q_SIGNALS:
        // The change notification signal for the property
        void filterChanged();
    
    private Q_SLOTS:
        // Filters the notes in the model according to the filter property
        void filterNotes();
    
    private:
        // The accessor methods of the properties
        bb::cascades::GroupDataModel* model() const;
        QString filter() const;
        void setFilter(const QString &filter);
        NoteViewer* noteViewer() const;
        NoteEditor* noteEditor() const;
    
        // The central object to access the notebook service
        bb::pim::notebook::NotebookService* m_notebookService;
    
        // The property values
        bb::cascades::GroupDataModel* m_model;
        QString m_filter;
    
        // The controller object for viewing a note
        NoteViewer* m_noteViewer;
    
        // The controller object for editing a note
        NoteEditor* m_noteEditor;
    
        // The ID of the current note
        bb::pim::notebook::NotebookEntryId m_currentNoteId;
    };
    //! [0]
    
    #endif
    

    If something you can help me with then this would be very useful - if you need to see more of code then let me know too!

    Thanks in advance

    Try to add in constructor (after a call to setGrouping):

    QStringList keys;
    key<>
    m_model-> setSortingKeys (keys);

    May require alterations, I have not tried this compilation.

  • XML with a member does not properly in the data model

    I use XmlDataAccess class to load an XML list in GroupDataModel. Everything works fine if the XML file has more than one Member, however, it does not load if the list contains a single member. I use the following code to get the XML content:

    QVariant list = xda.load(home.absoluteFilePath("MembersList.xml"),"/members/member");
    

    I need to know if the list has only one or 2 + members, so I can direct the data model to load with the appropriate settings. Can I know the number of members in the list?

    This problem is closely related to this question, where a solution QML is given.

    Hi Mitch99,

    Please see this forum post for a workaround for this problem. I tested it and confirm that it works as with QML.

  • If disappearing third-party JDBC drivers attempted to use Data Modeler

    Hi all

    I'm trying to reproduce the steps described in this blog post Oracle: https://blogs.oracle.com/datawarehousing/entry/oracle_sql_developer_data_modeler about the hive JDBC connectivity. Successfully, I can connect to hive and query the tables of the hive without problem. However, if I try to use Data Modeling (file-> Data Modeler-> import-> data dictionary), hive connectivity is not available any more back and goes to a third of drivers JDBC (via Tools-> Preferences) shows that there is no additional drivers listed (even if they had just be added and used successfully in the previous step).

    Here are a few screenshots

    (1) addition of hive to a third of JDBC drivers:

    1.PNG

    (2) connection to the hive:

    2.PNG

    (3) properties of the connection in Data Modeler ((fichier-> Data Modeler-> Importer-> dictionnaire de données) - Note that the tab of the hive is currently unavailable):

    3.PNG

    4) dating back to tools-> Preferences, check third party JDBC drivers - now empty:

    4.PNG

    This behavior is not limited to the hive - exactly the same thing happens with the MySQL driver, too.

    Tested in both windows & OEL 6.6

    Developer SQL v 4.1.1.19.59

    Any ideas?

    Thanks in advance

    Thanks for reporting this.  I also see the question on 4.1.3.  Maybe add pots of third parties in respect of the database and Data Modeler preferences immunize you her.  Of course, this is a bug and should get connected.  It is best that you could do it through MOS from 4.1.3 is a production version.  In general, our team saves only bugs for the first versions of the adopter.

  • Multiple datasets in single data model

    Dear experts,

    We have created a unique data model that has several sets of data sharing common to BI 11 g Publisher parameters.

    We are facing a problem of performance (data recovery is very slow) while to fetch data from database on execution.

    How to improve the performance in this case?

    Your help will be very appreciated.

    Thanks in advance!

    DB BLOB data recovery should not be a problem. But just to make sure that you remove your SQL BLOB type and see to it there improvements?

    Unfortunately I can't find any documents which mention the process of execution of the data sets.

    But you can do a proof for yourself:

    Add sysdate with timestamp on each set of SQL data and you can see the date with timestamp in the output xml (data view tab) which will show you what set of data is performed first and then what that and etc...

    It will be executed in the order of your data set creation. You can see the structure of the data set in the Structure tab.

    Have you considered the approach below?

    I recommend you to do.

    Is there is no adjustment to make in your SQL, then you can use triggers of events (before the data type).

    You can create a package that runs your sql DB and insert the data into a temporary table and then just ask the temporary table on the data set.

  • -You also get an invalid identifier error when executing this query sql for a data model, but not in TOAD/SQL Developer?

    Hello OTN.

    I don't understand why my sql query will pass by in the data model of the BI Publisher. I created a new data model, chose the data source and type of Standard SQL = SQL. I tried several databases and all the same error in BI Publisher, but the application works well in TOAD / SQL Developer. So, I think it might be something with my case so I'm tender hand to you to try and let me know if you get the same result as me.

    The query is:

    SELECT to_char (to_date ('15-' |)) TO_CHAR(:P_MONTH) | » -'|| (To_char(:P_YEAR), "YYYY-DD-MONTH") - 90, "YYYYMM") as yrmth FROM DUAL


    Values of the variable:

    : P_MONTH = APRIL

    : P_YEAR = 2015

    I tried multiple variations and not had much luck. Here are the other options I've tried:

    WITH DATES AS

    (

    Select TO_NUMBER (decode (: P_MONTH, 'JANUARY', '01',))

    'FEBRUARY', '02',.

    'MARCH', '03'.

    'APRIL', '04'

    'MAY', '05'.

    'JUNE', '06'.

    'JULY', '07',.

    'AUGUST', '08'.

    'SEPTEMBER', '09'.

    'OCTOBER', '10',.

    'NOVEMBER', '11'.

    "DECEMBER", "12."

    '01')) as mth_nbr

    of the double

    )

    SELECT to_char (to_date ('15-' |)) MTH_NBR | » -'|| (TO_CHAR(:P_YEAR), 'DD-MM-YYYY') - 90, "YYYYMM")

    OF DATES

    SELECT to_char (to_date ('15-' |: P_MONTH |)) » -'|| ((: P_YEAR, 'MONTH-DD-YYYY')-90, "YYYYMM") as yrmth FROM DUAL

    I'm running out of ideas and I don't know why it does not work. If anyone has any suggestions or ideas, please let me know. I always mark answers correct and useful in my thread and I appreciate all your help.

    Best regards

    -Konrad

    So I thought to it. It seems that there is a bug/lag between the guest screen that appears when you enter SQL in the data model and parameter values, to at model/value data.

    Here's how I solved my problem.

    I have created a new data model and first created all my settings required in the data model (including the default values without quotes, i.e. APRIL instead "Of APRIL") and then saved.

    Then I stuck my sql query in the data model and when I clicked ok, I entered my string values in the message box with single quotes (i.e. "in APRIL' instead of APRIL)

    After entering the values of string with single quotes in the dialog box, I was able to retrieve the columns in the data model and save.

    In the data tab, is no longer, I had to enter the values in single quotes, but entered values normally instead, and the code worked.

    It seems the box prompted to bind the values of the variables when the SQL text in a data model expects strings to be wrapped in single quotes, but no where else. It's a big headache for me, but I'm glad that I solved it, and I hope this can be of help to other institutions.

    See you soon.

  • Oracle Data Modeler 4.1.1.888 on macbook pro 15-inch will not let me choose the relationships on the model.

    Hello

    Can someone please give me an idea why the following happens?

    I have two machines:

    iMac 27-inch with El Capitan, java version 1.8.0_60

    MacBook Pro 15 inch with El Capitan, java version 1.8.0_60

    I use Oracle SQL Data Modeling 4.1.1.888 in both entities.

    In the iMac, I can change the relationships on the relational model, but I can't select them visually in the macbook only through File Explorer.

    I'd appreciate a comment or an idea about this problem.

    Thank you

    Hello world

    There seems to be a problem with the retina display and the only way to get around for me was to install an app that changed the screen resolution.

    View menu

    Hope that someday will solve this problem.

    PD.

    Once you change the resolution it looks a little bit fuzzy, but it's nice to be able to select the relationship.

Maybe you are looking for

  • Google Plus does not work on Toshiba Thrive-AT100

    My Toshiba Thrive-AT100 (PDA01A-005001) is runing on worm Android: 3.2.1.33.5.003 and he can not getProgram of Google Plus (G +) to operate. The program is quit/exit by itself. I erase the data and removed and reinstalled the program G +, it has not

  • Satellite C660 - mouse freezes for seconds

    The mouse on my Satellite C660 is driving me crazy. As well as the functions I put t use, it hangs for seconds every time after passing on. I got to plug a USB mouse, which seems to stabilize on a Clipboard as well. Is there a driver I can download t

  • Equium L40-10 X: need drivers for sound and graphics for XP

    Hello I returned to XP on my X L40-10, however, I need help to find the right audio driver and graphics driver for this system. I tried the Intel Intel® GMA 950 drivers from the website of Intel, no luck.I tried the Soundmax Audio drivers and the gen

  • LaserJet 600: toner, laserjet 600 on the page

    I have a question where there is some toner transferred to some parts of the page, it should not. On the right side of the page, there will be 4-5 "burrs" toner that go from the top down. It seems it's the toner of something that has been previously

  • How to use 2 WPA-Personal compatible Wi - Fi security systems?

    I have two laptops. Both have Windows XP service pack 2. And I have WPA - Personal Wi - Fi security. I have the same pre-shared key (PSK) for two laptops during the configuration of WPA security. I'm able to use a wi - fi connection in two portable c