dynamically change the selection table of

is it possible to dynamically change the table used in a select statement for an interactive report 3.2 on 11g database? I have a series of similar tables, one for each month of the year. I want to click a month on one page and to set up a table for this month report. I want to use a page for this report and have all the links from the link to the previous page on the same page, just different results based on what month has been clicked.
I know I could just install 12 different reports and conditionally display each region based on a value passed to the page, but I prefer to create only a single page and a report on this page.

Thanks for ideas or solutions.

Hello:

Because the tables involved are fixed for a given month, you can try something like

select * from tab_1
where :p_mth=1
UNION
select * from tab_2
where :p_mth=2
UNION
....
select * from tab_12
where :p_mth=12

only the query for the IR. "P_MTH" is the page element has the value entered by the user for the months for which data should be retieved.

CITY

Tags: Database

Similar Questions

  • How to dynamically change the selection mode of the listbox control?

    Hello everyone

    Is it possible to change the selection mode of the ListBox dynamically?

    Both cases to the attached vi works the same way. I want the listbox to change the mode of selection by 1 point when the channel selected in the drop-down list box is SET.

    Can anyone help please?

    Thank you

    Simo

    There is a property for Listboxes node called selection Mode.

    Do not use the control Terminal in one case and a local variable of it in the other.  Moving the Terminal outside the structure of matter and son in the structure of the case.

  • Dynamically change the number of sub-panels

    Hello

    I have a computer where usually 4 testplaces of production are connected to.

    I want to have a main VI indicating the status of the 4 different testplaces, that I can do with 4 separate sub-panels - no problem.

    The issue is that I would be flexible in testplaces how I show in a program (as this hole thing is pretty cool, and I expect that some changes will come). Is it possible to dynamically change the number of sub-panels displayed (other that make it twenty of them and turning off then those you don't need)?

    My first idea was to place the school in a table, but unfurtunately is not possible.

    Best regards

    Frank

    Yamaeda wrote:

    The POP in separate windows, and you can have as much as you want.

    Or make separate them windows, and then set up a child-parent relationship in Windows, it seems as if it was all about a user interface.

    http://screencast.com/t/P9SJ1anR

    It's nice enough for the demo beta like software, but works.

    https://lavag.org/topic/17046-multi-panel-interface/

  • When you perform queries Smart View Ad hoc, changing the selection of the Alias in the Essbase himself Ribbon

    Hyperion Planning

    GPE, Fusion edition, 11.1.2.2

    Smart View 11.1.2.2

    When running Smart View Ad-hoc queries, selection of the Alias in the Essbase Ribbon does not.

    When I start a new query, the Alias in the Ribbon of Smart View is always set to None; but often, not always, the selection will change itself no default - usually after I refreshred/zoom a few times.  He starts a time past, I change the selection of the Alias in the Ribbon in none, but it changes just itself by default again.

    The option to display the name of the Member is defined on behalf of members only.  (This is the default setting for this option and I usually begin with all the options, by default).

    This problem started after that we went to 11.1.2.2.

    If neither know why the Alias / None change automatically in the Essbase Ribbon?

    Thank you

    Veronica

    There is a way that you can set for your connection

    When you use shared connections to connect to your application, you do a right click and say "Add to private connections". Once you have added to your private connection, right click and click 'Set Alias Table'. You can do this on a connection that you have added to private connections

    Concerning

    Amarnath

  • How to dynamically change the generated query through the "query by example".

    Hi all. I'm relatively new to the ADF, so I've been beating my head against a wall trying to figure out how to do this... Any help would be greatly appreciated!

    What I try to do is to make a custom search (query) against a set of tables in the database. Normally, I would use just the ability to "filter" the af: table to do this (query by example). However, the query I need to run has three specific requirements:

    1. I need to change the 'WHERE' clause differently according to the field in which the user enters criteria in. For example:
    -If the user enters something in the field 'name' of filter, the default ADF BC will do is add '%' to the value entered, turning it into a query "begins by". I also want to prepend a '%' to the input value, (for example "doe %'), it becomes a query 'contains '. I don't want the user to see the '%', I put at the beginning of the field in the UI, however.
    -If the user enters a value of 9 digits in the field 'SSN', do a query of "accurate". If they penetrate only 4 digits, do a query "ends by". (I could always just a query "ends by" - for example "% of values" - even if they have put in 9 digits, and that would work.) However, an exact match will run faster because of the index on the field, so I want to use that if we put 9-digit.)

    2. I also need to change the SELECT part of the query based on which fields are used in the filter.

    3. If the user enters the filter values in several fields, I need 'OR' them together. The default functionality, it's that they are 'linked' together.

    Can someone point me in the right direction? My thought was somehow replace the manner in which the query is generated when the user presses ENTER to run the filter. But, I can't seem to understand where and how to connect it to this process to customize the SELECTION and WHERE the parts of the generated query. I'm sure that there is a way, and I hope more experienced ADF'ers can direct me to the solution.

    Thank you!

    Published by: 926392 on June 25, 2012 15:39

    Published by: 926392 on June 25, 2012 15:40

    Check this post in the ADF Code corner for the necessary information:
    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/30-table-filter-queries-169172.PDF

    Thank you
    Nini

  • Dynamically change the path of the report

    Is it possible to dynamically change the path where reports are saved. TestStand 4.1.1

    Glennjammin,

    You can set a path to the specific report for any sequence that you run via the entry points of process model using the reminder of your sequence ReportOptions. It will allow you to change the current settings in the Options report (including the path) for the execution of this sequence. This allows each of your sequences have unique report options.

    If I understand your question, you want to do is exactly what is meant recall ReportOptions.

    -Jack

  • Programmatically change the selected cell/line of control multi-column listbox

    I want to programmatically change the selected cell of a multicolumn list box whose selection Mode is set to highlight the whole line.  I would use this to highlight the line whatever the list box, I chose to.  It would work the same way if the user has clicked on a line to select and highlight that particular line.  Set Active cell does not fulfill this.

    Steve

    Try to use the property value; p

  • Dynamically change the language in cvi

    Hello

    I would like to know if it is possible to dynamically change the IUR in English language to Russian?

    I have a program written in cvi and I need to be able to scwitch English to Russian UI when the user clicks a button...

    Thanks in advance

    Yes: You must create a resource of language of the dossier and can then use the LoadLocalizedPanel / LocalizePanel and LoadLocalizedMenuBar / LocalizeMenuBar

  • dynamically change the HomeScreen application title

    Hi all

    As you know, we can dynamically change the application ICON on the home screen,

    what I want to know how to change the title of the application on the home screen.

    I mean when the user foucs on my application, text will appear on the screen.

    When I change an ICON, I want that the text will be changed according to the new icon.

    Is this possible?

    Thank you.

    Try the HomeScreen class - see the documentation of the api for HomeScreen.setName)

  • Dynamically change the order of the components

    Can I dynamically change the order of the components (input text entry LOV, etc.)  inside the layout of the Panel form?

    Currently in 11.1.1.7 but may be considered if necessary upgrade

    Yes, you can.

    See the example attached to this bug: https://java.net/jira/browse/JAVASERVERFACES-2390

    Dario

  • Inserting changes into an intermediate table rather than change the main table on a form.


    I am trying to create a process inserts changes the date in an intermediate table for approval, rather than change the main table.  I am currently using 4.2.4. Here's how I went on this subject.

    1. I've created a report interactive and connected the primary key on a form that displays data.
    2. Then I created a button called to request changes that redirects to another page with a form and through the necessary elements of session state.  (Note: I voluntarily created 2 different forms)
    3. I then set the initial values of the elements of the page on the current page based on the page, I went through the session state.

    My problem is that when changes are made and I hit the submit button, which is to send the page using an SQL Update statement, it does not have the intermediate table with new data.  I think it's because I set the source for the page elements as part of the page the previous page, thereby breaking the link to the database columns in my staging table.  Someone knows how to set the items on the form of page items I placed in another page without breaking the link to the database column?  Or is there an other/easier way to do this?

    Change that you attend the process instead of using APEX built DML, to call a specially written block that will take the page objects values and save them to your intermediate table...

    Thank you

    Tony Miller
    Software LuvMuffin
    Salt Lake City, UT

  • Two quick questions (hopefully) - right way to dynamically change the CSS class and put of Splash screen implemented

    Couple of quick questions have left me speechless!

    So, it seems obvious that many JavaFX applications want to dynamically change the CSS styles.  Is the best way to do it through la.getStyleClass () .add ("classname") < node >?  The underlying data structure is a list of observable.  So let's say we have 5 styles that simply to change the fill color of a circle of 5 different colors, respectively.  So if I have a condition in which I want to dynamically apply 1 of these 5 styles, as I do now it's by setting all 5 styles as a string in a list by using a static initializer, then I call < node > .getStyleClass () .removeAll (list), then getStyleClass () .add ("classname").  I do this to avoid adding again and still the same style and inflate the underlying list.  What is the right way to manage dynamic CSS styles?

    Finally a very simple I think.  So I know there's a little differently to implement a splash screen.  My app has certainly got bigger in the last few months of development and I noticed there are about a 5 second delay between when I run the application when I see the main stage.  I was thinking what a splash screen would be nice to fill that time.  I had no time to prototype using a Preloader and I fear that using another, early stage start-up again would be too long of a delay.  "I actually thought that using the Nice and simple JVM argument" - splash: image name > "would be simple, easy and effective.  Unfortunately when I try to do, the splash screen appears but never goes away.  Anyone know what is happening with this?

    Your mechanism to manage the css style classes is a good approach; I've used several times. I wonder why the style classes have been implemented as a list, instead of a game, but there may be cases of good use for the use of a list.

    In some cases you can also consider using CSS PsuedoClasses, which were presented in JavaFX 8. Here is a little easier to use, especially if you have two options. But a use case might look like:

    public class Message {
        public enum Status { NORMAL, WARNING, CRITICAL }
    
        private final ObjectProperty status = new SimpleObjectProperty<>(Status.NORMAL);
        private final StringProperty message = new SimpleStringProperty();
    
        // constructor, getters, setters, and property accessors....
    }
    
    public Label createLabel(Message message) {
        PseudoClass warning = PseudoClass.getPseudoClass("warning");
        PseudoClass critical = PseudoClass.getPseudoClass("critical");
    
        Label label = new Label();
        label.textProperty().bind(message.messageProperty());
        message.statusProperty().addListener((obs, oldStatus, newStatus) -> {
            label.pseudoClassStateChanged(warning, newStatus == Message.Status.WARNING);
            label.pseudoClassStateChanged(critical, newStatus == Message.Status.CRITICAL);
        }
        return label ;
    }
    

    And then your css looks like

    .label:warning {
        -fx-text-fill: orange ;
    }
    .label:critical {
        -fx-text-fill: red ;
    }
    
  • Bridge continues to change the selection of the sort each time that I reopen it the Bridge window... WHY?

    Bridge continues to change the selection of the sort each time that I reopen it the Bridge window... WHY?

    I continue to get "sort by modified date" but each whenever I open it a window that it is for manual selection.

    I searched the preferences but impossible to find something to help.  It didn't used to do this...

    John

    Well, I solved the puzzle myself.

    I noticed that somehow a stray .psd file was stuck in my side bar of the Mac Finder.  Don't ask me how it got there.

    At the beginning I couldn't delete it – until I tried a Mac forum and they suggested I hold down the command key and drag it off... to poof!

    It worked.

    And when I went back to bridge - now the bad behavior disappeared!  And when I close the window Bridge and reopen - the choice to "classify" same home!

    Yay... it's a small step for me, and one small step for computerkind.

  • Script to change the selected layer to one of the drop-down list in the layers palette colors

    Hello!

    I was wondering if anyone knows of a script that would allow me to change the selected layers (single or multiple selection) in 'Light Blue' or all the colors in the menu drop-down? (see attached screenshot)

    I found the following but it changes all layers and is the RGB color.

    -----

    say application "Adobe Illustrator"

    set current_Layer in current document

    view the dialog box "in the current document there is" & layersCounter & "layers." & "Recolor label layers?"

    Repeat until (layersCounter = 0)

    set color of layer layersCounter in the current document to {Light Blue}

    set layersCounter to layersCounter - 1

    end Repeat

    end say

    -----

    Screen Shot 2015-06-12 at 10.46.46 AM.png

    I don't know how the script so any help is greatly appreciated. Thank you in advance!

    John

    as far as I can tell this is only possible with a few other modifications... Since 'selected' is not a property of "layers" javascript cannot determine if you see a highlighted layer in the layers panel.

    you could do one of 2 ways. Depending on how many layers you want to change the color, you can either make those visible or hidden (for example, if you want to change to 80% of the layers of a specific color, hide others 20%). and then simply add a clause inside the loop if for.

    var doc = app.activeDocument;

    var layers = doc.layers;

    Blue of var = new RGBColor();

    Blue.Red = 79;

    Blue.Green = 128;

    Blue.Blue = 255;

    for (i = 0; i<>

    If (layers [i] .visible == true) {}

    var = aLay layers [i];

    aLay.color = blue;

    }

    }

  • I'm LR4 running on a pc. Control-Q does not close the program. (Sometimes it changes the selected color to b &amp; w image.) I was closing the window by right-clicking on the LR icon in the taskbar and selecting "close window." Is - it really close the

    I'm LR4 running on a pc. Control-Q does not close the program. (Sometimes it changes the selected color to b & w image.) I was closing the window by right-clicking on the LR icon in the taskbar and selecting "close window." Is this really close the program? (It also changes an image n & b).

    -> Output file, or by clicking on the red X in the upper right, should work.

    CTRL-Q should work unless there is a Windows keyboard command that replaces it.

Maybe you are looking for

  • How to get updates for Firefox on my laptop.

    I get that my Firefox is still to date, but cannot find the place where or what is the most updated version of it andHow do I know that it updates automatically.

  • DeskJet 2544: Do not print black

    I've been using this printer for over a year now and suddenly the black does not print, print all colors fine, but started black printing of a very light gray, then everything just stopped printing. I did all the tricks and tips (alignment, cleaning

  • Windows Media Player 11 won't let Me add or remove music

    As the title WMP11 says doesn't let me add music to the library or delete everything. Of course, I tried to 'Add to library' under 'file', but nothing comes and nothing sticks. Also, when I make a playlist and try to save it, it disappears. Please he

  • BlackBerry switch 10 of Nokia

    Hi, I have just bought a passport and updated the device and the PC software to the latest versions. I pass a Nokia phone that is synchronized with the Suite Nokia / OVI on my Windows 7 PC. How to import my address book? Link to Blackberry and mix of

  • Screen does not show anything about the accident, put it in my Pocket

    No device Hi all I have a Tungsten E2 and I put it in my pocket on the accident and now whenever I turn it on, it displays as a strange pattern and habit of show me the on-screen buttons to push to put my password so I can get. I think that my camera