using the same LOVs cascading on multiple pages

Hello

I use apex 4 and try to get the LOV cascading to work.

need basically for LOV cascade like "RÉGION" and "CTY", which is used in many pages in the application

Because it will be used in several pages, I tried to create the LOVs in the shared component
with the LOV for 'REGION '.

Select the REGION display_value, REGION_ID return_value
of MR_REGION_LOOKUP
order by 1

and "CTY".

Select CTRY display_value, CTRY_ID return_value
of MR_CTRY_LOOKUP where MR_CTRY_LOOKUP. REGION_ID AS: P3_REGION_ID
order by 1

He worked on the P3, but I can't use the same shared component LOV in other pages, unless I have change the P3 in the binding variable: P3_REGION_ID to the new as page number: P5_REGION_ID.
Is there a way to use a generic approach for the CTY LOVs, which will work on several page?

The elements of level application perhaps?
Or at least to use the wildcard to replace the P3 to work for all pages?



Thanks in advance for all advice :)

Concerning
Kian coulibaly

Not my preferred solution but how about something like this

select CTRY display_value, CTRY_ID return_value
from MR_CTRY_LOOKUP Where MR_CTRY_LOOKUP.REGION_ID LIKE v('P'||v('APP_PAGE_ID')||'_REGION_ID')
order by 1

Kofi

Tags: Database

Similar Questions

  • Use the same code module to multiple steps in the sequence

    Hi all

    I tried to implement a sequence that uses the same code for all steps module in the order, but I'm not returning to it when I need to send it commands.  I got regarding the appellant the VI in a new thread so that it can be executed asynchronously.  I can run the simple sequence and it will indeed open the VI and move to the next step.  When I close the VI manually from the front, the TestStand sequence is completed, as planned.  So it turns out that I have a lot more work.

    My question is how to call the thread separate from the main sequence and other sequences overtime when I need to change the settings.  If I insert a step in the Action, I have to select a file of VI, but from what I can tell, it opens another instance of the file and does not provide an interface with the other asycronously running instance.  My next guess was to use a stage of education, but I was not able to understand how to configure the search string to call the VI settings.  In addition, I don't know how to proceed.  Please notify.

    My intention is to start the module code (asynchronously) VI, run several different subsequences in the main sequence, which call this same VI and edit its settings, close everything and report the results.  If I'm understand how TestStand is supposed to work, please let me know.

    Thank you

    GSinMN

    What I do is use a queue to send data to the asynchronous VI.  So he can run and whatever, but also receive orders from the queue.  I use a motor of Action that contains the reference to queue and sends the commands.  If you really just call the engine of the Action of your sequences.

  • To use the same filter messages on multiple computers

    I have three computers running thunderbird at different places in the world. I am using IMAP so I have all the emails anywhere. Now, I would like to run the same filter message on any one of them, but I can't export/import the message filter as I have copies of my filter. What should I do?

    I found the file differently as you indicated.
    There is no account option that you made on the Tools menu of thunderbird.
    However choose the localfolders file, you can select accountsettting. There's the localfolder displayed directory.
    Now, I see also the otherway. In the menu choose options (tools not), you can select the account settings and then select in this local folder menu and it displays the local directory as in the other method.
    The rest is as you said, thanks.

    Sorry, I copied the 'msgFilterRules.dat' folder, but nothing has changed. In fact when I delete this folder Thunderbird still remember the filter rules. They must be somewhere else on my computer...

  • Use the same product key on multiple computers accidentally.

    I had a simple problem, somehow in my household that is unknown to me, we met with the same copy of windows 7 Home Premium on two computers.  We received the product key of course rejected on both computers.  We got a new copy of Windows 7 ultimate for my dad's computer, he started this:(, mais maintenant nous ne pouvons pas obtenir autre sauf s'il la la clé.)  Thanks old man.  So what steps should I take, because there is only one computer using this key now.

    Original title: product key problem

    Your best option is to move one of the computers to use the Express Windows 7 Ultimate upgrade and re-enable the other machine with Home Premium.

    First of all, reactivate the machine with Windows 7 Home Premium, then proceed to the Express Windows 7 Ultimate upgrade.

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

    If the license for Windows 7 Ultimate, you have access to is a retail version update or complete, you can use the product key and the Express upgrade to Windows 7 Home Premium to Windows 7 Ultimate. First of all, check that the edition of Windows 7, you are upgrading is already enabled (if it isn't, you will encounter complications and that you might start all by performing a clean installation). Click Start, type Anytime Upgrade, click on the option enter a key, enter the key of Windows 7 Ultimate edition at the request, click Next, wait while checking the key, accept the license agreement, click on upgrade, wait while the software upgrades, (it may take 10 minutes or more depending on the if updates are required) your computer restarts automatically, after the reboot, Windows 7 will notify its update of the computer, the computer will restart once more automatically and will be completed the upgrade, a window will appear notifying the upgrade was successful and your computer is ready to use, click Close, you should be upgraded to Windows 7 Ultimate files the stored settings and programs.

    Alternatively, you can proceed to reactivate the other Home Premium installation by phone.

  • How to use the same paths (selection) in multiple images to the batch?

    I have a whole bunch of pictures, that I need a batch, but, when you create a to-do for this, I came across the problem paths I have selected with the pen tool and is recorded on the "Paths" tab must be in each image to be used in action. I'm trying to solve for a while, but not could not understand. Any ideas?

    Thank you very much

    Carlos

    Usually batch processing is to use actions that you have registered.  In Action, you can insert path that can be used during the processing of documents.  Path have some size so you can only the process document that have the same size.  Look in the actions Palette drop-down menu for the path of insertion.  It inserts | records the current working document traced in action being developed, and when the action is played it inserts the path in the document under the current path of work...

  • Can I use the same SSI twice on the same page?

    Hey all,.

    I'm having a problem whereby several SSI are not displayed on my page.

    I wonder if it's because the instances that do not display not is those called in the second round.

    Before I start posting code, etc, I was wondering if it was actually not possible to call the SSi even several times on a page.

    I can't find documentation showing it anywhere.

    Thanks in advance,

    Katrina

    1 edit: I tested it using a new unique SSI (i.e. one that has not been called nowhere elsewhere on the page and it is not show either... so I started a new thread where I post my code here: http://forums.adobe.com/message/5345250#5345250 )

    Edit 2: I guess I didn't parse correctly initially. It seems that it is NOT possible to use the same SSI twice on a page... Bummer!

    This problem has been solved in a different thread where members will provide information...

    Depending on the PHP command that serves as the include directive is certainly possible.

    includes only the files once

    will include more than once the file

    will include more than once the file

    Each has its own rules and quirks.

    http://PHP.net/manual/en/function.require-once.php

    http://www.php.net/manual/en/function.include.php

    http://www.w3schools.com/php/php_includes.asp

  • Loading multiple files using the same interface in ODI

    Hi all

    We load multiple files using the same interface and get the error "java.sql.SQLException: ORA-00942: table or view does not exist" while inserting record in the staging table. It looks like the same temporary table is used when loading multiple files and the error. Grateful if someone offers a solution to avoid this error.
    We use the following KMS:

    (1) LKM SQL file
    (2) IKM Oracle SQL COMMAND append.

    Receive a quick response.

    Thank you
    RP

    Hello

    See this http://odiexperts.com/interface-parallel-execution-a-new-solution

    Thank you
    Fati

  • Issue of multiple Disqualification tasks that use the same snapshot

    Details of the environment

    ======================

    Disqualification Version: 12.1.3.0.0


    A snapshot has been created in which the WHERE clause is outsourced and this snapshot table is used in a data quality process.

    Since there are different values passed to the WHERE clause, different jobs who have their own data quality process, but these process reads from the same snapshot table.

    Disqualification does not allow execution of different tasks that uses the same shot to run at the same time.

    Job1 is in operation, job2 throws an exception that the snapshot is locked.

    Any reason why Disqualification has this restriction? Processes are just doing a read on the snapshot table operation, so I was wondering why it was necessary to lock the object.

    We have more than 60 jobs that use the same snapshot and it would inhibit scalability if we are forced to run 60 jobs in sequence and not allow them to run in parallel.

    Can you advice how to fix this problem?

    The short answer is that each task must be executed with his own label of execution. Otherwise, each work is actually being run in the same context, and you will have problems of blocking.

    Please read on the labels of the execution and run profiles in the online help.

    Note that when running with a label of execution, complete results are not written; you need to decide exactly what to write work featuring the views of results you need. All data staged (including the snapshot itself) will be written with a label execution context and you can view the results in the Console of the server. Director will only show the results of the last run.

  • using the same datamodel with SQL database QML in 2 listviews

    I am using the code for the sample application quotes as starting point. I try to call the same SQL database with the quote template to build a list in the top level of my application and then create a list to the next heirachy.
    For, for example, imagine a list of different types of quotes (funny, sad, happy, etc.) on the home page, then the list of people with their quotes on the 2nd level and their exact quote at the 3rd level. When I use the same quotesModel qml and asyncksource at the top of the list and yet once in 2nd list level I get disconnection issues connect to my SQL database. How would I fix this?

    You only need a data source class, but you will need multiple instances of it.

    The disconnect message means that the new connection is now that of the database of driving. Will there be other errors in the log?

  • Highlighted text - impossible to use the same color next time.

    I'm a pastor by using Pages to write sermons and teaching materials.  I like to review the text and highlight certain phrases, words and paragraphs.  If I want to emphasize two selections back to back, it let me use the same color.  I select a different color, select the color I want.  I think it is an improvement that needs to be done, which allows you to select the color even overtime, but how do I do differently or how to make the requested change to a future update?

    John

    Menu > Pages > Pages comments

    Just be aware that the prayers of Apple are rarely answered.

    Peter

  • Using the same control appeal return of different tabs

    Hello

    I am fairly new to this bare with me for a second...

    I have a situation were I use several tabs with the same exact command buttons in each of them.  Given that the buttons have the same function I want to use the same reminder.  I understand that each TAB is considered as an expert group and has its own Panel of handle.

    My problem is I want the call to make the difference between the button OK of TAB1 and TAB2.  The handle Panel sent back, the call is (from what I can tell) the Panel handle for the tab which is great, but it doesn't have a constant right having at it in the header file.  How sure that TAB1 always has the Panel handle 2 and TAB2 has always handle Panel 3, etc...

    Example: When I click on OK in TAB1 handle Panel sent to the btnOK is = 2 recall.  If I click OK in TAB2 is the handful of Panel = 3.  I want to move to the OK button, but do not want to use hard coded in full.

    int CVICALLBACK btnOK (int command face, int, int event, void * callbackData, int eventData1, int eventData2)

    {

    switch (event)

    {

    case EVENT_COMMIT:

    switch () {}

    case 2:<----I don't="" want="" a="" number="" here="" but="" a="">

    "do this."

    case 3:

    "do this."

    };

    }

    return 0;

    }

    The easy solution would be to have a reminder for each of the buttons.  If it's the only way to go if it's what I'll do, but I am interested in what you think.

    Thank you!

    Hello

    I see at least three ways to get what you want.

    Solution A: depend on constant tab page name (as you can get it back by giving the handle from Panel)

    In the callback, insert this code:

    name char [64];

    GetPanelAttribute (name of Panel, ATTR_CONSTANT_NAME),
    If (! strcmp (name, PAGE1)) {}

    Code for the first page of the tab

    }

    Else if (! strcmp (name, PAGE2)) {}

    Code for the second tab page

    }

    ... code additional pages

    Solution B: based on the attributes of the tab

    int parent, index;

    GetPanelAttribute (Panel, ATT_PANEL_PARENT, & parent);

    GetActiveTabPage (parent, PANEL_TAB, &index);)

    switch (index) {}

    case 0:

    Code for the first page of the tab

    break;

    case 1:

    Code for the second tab page

    break;

    ... Add the code to additional pages

    }

    Solution c: use the callbackData for buttons

    This solution requires code in two different program sections

    * During the loading of the Panel with the tab control

    int pnlH;

    GetPanelHandleFromTabPage (Panel, PANEL_TAB, 0, &pnlH);)

    SetCtrlAttribute (pnlH, PAGE1_BUTTON, ATTR_CALLBACK_DATA, (void *) 1);

    GetPanelHandleFromTabPage (Panel, PANEL_TAB, 1, &pnlH);)

    SetCtrlAttribute (pnlH, PAGE2_BUTTON, ATTR_CALLBACK_DATA, (void *) 2);

    ... and so on

    * In the recall button

    switch (callbackData (int)) {}

    case 1:

    Code for the first page of the tab

    break;

    case 2:

    Code for the second tab page

    break;

    ... Add the code to additional pages

    }

  • 12 c upgrade using the same database

    What is the process for the improvement of the 11.1.1.7 to the current version of 12 c? We will not do a full inplace upgrade. We have new hardware for the 12 c application layer, but will use the same database. Our database is multiple to and do not miss having to deal with all the data duplication and dealing with the deltas.


    Is it possible to install 12 c on the new hardware, and then point the current patterns of these two instances? The upgrade of the patterns would be the only thing that needs to be done to allow the new instance to work with the new application?

    This is described in detail in Note 2058358.1 support

  • several insert using the same sequence number,

    Hello

    I need to use the same sequence number in several documents (insertion).

    Is this possible and how?

    Thank you

    It depends on how you are doing multiple inserts.  If you then run a bunch of single inserts something like:

    dev1 > create table t (ID, descr varchar2 (10));

    Table created.

    dev1 > create sequence t_seq;

    Order of creation.

    dev1 > select double t_seq.nextval;

    NEXTVAL

    ----------

    1

    dev1 > insert into values t (t_seq.currval, 'Rec 1');

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, "Rec 2");

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, 'Rec 3');

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, 'Rec 4');

    1 line of creation.

    dev1 > insert into values t (t_seq.currval, 'Rec 5');

    1 line of creation.

    dev1 > select * from t;

    ID DESCR

    ---------- ----------

    1 rec 1

    1 rec 2

    1 rec 3

    REC 2 4

    REC 2 5

    You can use a similar approach, if you select data from another table as long as you can make the selection sufficiently selective to retrieve only the lines you need.

    John

  • To connect to vCenter using the same Session with PowerCLI

    Hi all

    Is it possible that we can establish multiple connections to vCenter using the same session with Powercli.

    As connect-viserver-Server "vcenter1" - domain\domainacnt of the username-password "Password".

    is to establish several connections and we want to limit, because we are in the process of report generation based on the web developing using Powercli with IIS.

    Please suggest.

    You can use the Session parameter on the cmdlet Connect-VIServer .

    I use this for the PowerShell Workflows, see workflow of PowerShell and PowerCLI

  • How do you install the creative cloud on several computers using the same license?

    How do you install the creative cloud on several computers using the same license?

    Installation on multiple computers can be done independently of the subscription.  You only need the lic3ense when it comes to activation, you have two active facilities (signed in).  Just install the desktop application and use it to install the applications, and then connect to activate.

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    Creative cloud to desktop
    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Sign out, sign in | Creative office cloud app
    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Help of activation & deactivation
    https://helpx.Adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#a ctivate-how-to's

    Install, update, or uninstall applications
    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

Maybe you are looking for