using a variable in refreshing the tab

Hi all

I want to use the following query in the refreshing tab of a variable

Select count (*) in the Scott.abc where scott.abc.filename = #filename

where #filename is declared variable that contains the name of a (text) file.

But when I run this variable, it is not valid sql format.

So can I use a variable in the refreshing tab of a variable? If Yes... How?

Or if not how to compare the value of a column in a table of data with the value stored in a variable of odi.

Kindly help.
Thanks in advance.

1. create an ODI variable named "filename."
2. now, create another variable ODI with your query, use the variable created in step 1 in where clause
That is to say where xyz = "#filename."
3 create a package, drag and drop the variable created in step 1 & 2 in refresh mode

works?

Fati

Tags: Business Intelligence

Similar Questions

  • Refresh the tab contant

    Hello all:
    I use ADF 10.3 with Jdevloper 11.
    I have the following problem:
    I use a master-detail table,
    the main table added in tab 1 and table of detail added to the tab - 2
    When I change the information in the tab-2 for detail table, I need to update the data in the main table, and I'm doing this successfully.
    but when I click in the tab-1 I still see the old data I need to refresh the page to see the new data in the main table.

    so, how can I refresh data in the tab-1 automaticlly.
    I tried to use the following code, but it does not work:
    String ID: corresponds to the id of the main table
        private void refreshComponentContainer(String id) {
    
                 String comp = id;
                 FacesContext fctx = FacesContext.getCurrentInstance();
                UIViewRoot root = fctx.getViewRoot();
                root.invokeOnComponent(fctx, comp, new ContextCallback() {
         public void invokeContextCallback(FacesContext facesContext,
                  UIComponent uiComponent) {
                            AdfFacesContext.getCurrentInstance().addPartialTarget(uiComponent);
                        }
                    });
            }
    Published by: bara on October 27, 2010 02:03

    Published by: bara on October 27, 2010 02:03

    Published by: bara on October 27, 2010 02:04

    Published by: bara on October 27, 2010 02:04

    Hello

    the problem seems to be that you update the company (ADF BC) not the link layer. So in this case, you should do is to get your hands on the DCIteratorBinding of the parent and to executeQuery() binding parent bed changed data

    Frank

  • How to use a variable to specify the color when you set an attribute

    Hello

    We use BI Publisher (OPE) embedded in the e-Business Suite. So we are actually on version 5.6.3.

    I'd like to conditionally set the cell background color attribute in a table by using a variable reference. something like this (the sense in which I tried):

    <? attribute@InContext:background-color;$exEmpBGColor? >
    <? attribute@InContext:background-color;' {$exEmpBGColor}'? >

    The 'standard' to do this way:
    <? attribute@InContext:background-color; '#CCCCFF'? >

    Can someone please help? (i.e. is it even possible?)

    http://winrichman.blogspot.com/2008/09/how-to-set-dynamic-color-based-on-XML.html

    http://winrichman.blogspot.com/search/label/formatting

    http://winrichman.blogspot.com/2009/09/column-formatting.html

  • Using a Variable to create the SQL query

    I need to create a "dynamic" update query I want to hold the meeting of the command in a variable and then refer to the query variable.

    Example:

    < cfquery name = "fred" datasource = "mydb" >
    Update db_table_name set
    PBname = "Fred Flintstone",
    pbnumber = ' 555-555-1234. '
    pbage = 25
    where recnum = 24
    < / cfquery >

    I would like use this code:
    < cfset upst = "pbname ="Fred Flintstone", pbnumber =' 555-555-1234, pbage = 25" > ".
    < cfquery name = "fred" datasource = "mydb" >
    Update db_table_name set
    #upst #.
    where recnum = 24
    < / cfquery >

    When I run the present, I get the following error message:
    Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] syntax error (missing operator) in query expression "Fred Flintstone".

    The SQL is:
    Update db_table_name set pbname = "Fred Flintstone", pbnumber = "555-555-1234", pbage = 25 where recnum = 24

    I know it's hard to see, but the "are 2' No 1". I have no idea why Coldfusion (or perhaps the ODBC driver?) puts the 2nd "in the command that causes the errors.

    Anyone can shed some light on this subject?

    While it is a simple example, my application is much more complex. I have over 50 fields in the update and based on changes to the values of the form, I may need to update all fields, some fields or NO fields.

    Can I use < cfif > test if all the fields have changed and if so, include them in the update command, but if NONE of the fields have changed, I update the command vacuum and therefore get an error. I want to avoid having to test changes twice (once to determine if I do the update and twice to perform the update).

    Thank you
    Mike.

    CF automatically escapes single quotes, he must preserve them


    Update db_table_name set
    #PreserveSingleQuotes (upst) #.
    where recnum = 24

    Ken

  • When I open a new tab and type a URL, Firefox ignores me and refreshes the tab instead. I then type the URL again. How can I fix it?

    I just installed Firefox 8 and this behavior is new for the upgrade. I checked my extensions installed against the list of extensions of the issues, and I have none of them (not looking for bars, no AVG, etc.). I already rebooted in safe mode and also used the option bars of tools and commands to reset.

    This has not fixed the problem.

    In addition to the troubleshooting caused it seem more related to tab mix. I've upgraded to the current development version of that and the problem seems to have declined.

  • Options-use current pages now let the tab options

    When I click on use current pages, the page option now remains as a current page.

    This is a Bug that has been reported for a year and a half when the system of preferences 'in the content"was created. This "in content" has been postponed and apparently the developers leave this 'pass through the cracks '.
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=1043586

    You can use the Home Page 'box' and remove the : subject: preferences characters at the end of the line to fix.

  • How to use a variable out of the nested &lt; fx:component &gt; tag?

    Hi flex community.

    I'm trying to reach the House of the label of the component variables. But I am still getting this error when I press the button:

    Error #1009: Cannot access a property or method of a null object reference.

    Here is my code:

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:WindowedApplication ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" >
    < fx:Script >
    <! [CDATA]

    private var newWindow:MyNativeWindow;
    public var home: String = "wooden house";

    private function openNewWindow (): void {}
    If (newWindow! = null) newWindow.close ();
    newWindow = new MyNativeWindow();
    newWindow.width = 200;
    newWindow.height = 200;

    Try
    {
    newWindow.open ();
    }
    catch (err: error)
    {
    trace (Err.message);
    }
    }

    []] >
    < / fx:Script >

    < fx:Declarations >
    < fx:Component className = "MyNativeWindow" >
    < mx:Window horizontalAlign = "center" verticalAlign = "middle" backgroundColor = "blue" >
    < fx:Script >
    <! [CDATA]
    protected function button1_clickHandler(event:MouseEvent):void
    {
    trace (outerDocument.House);
    }
    []] >
    < / fx:Script >
    < mx:Button label = "yes" click = "button1_clickHandler (event)" / > "
    < mx:Button label = "close" click = "this.close ()" / >
    < / mx:Window >
    < / fx:Component >
    < / fx:Declarations >

    < s:VGroup horizontalCenter = "0" top = "10" >
    < s:Button label = "open a new fenΩtre" color = "black" click = "openNewWindow ()" / >
    < / s:VGroup >
    < / s:WindowedApplication >

    Import mx.core.FlexGlobals;

    protected function button1_clickHandler(event:MouseEvent):void

    {

    trace (FlexGlobals.topLevelApplication.House);

    }

    now?

  • When I "Open link in a new tab" it does not load the link, I have to stop and refresh the tab to load the linked page

    The title of the question pretty much explains the problem.

    EDIT: "Open Link in New Window" works very well, as by clicking on a link or bookmark to switch from one tab to the linked page.

    "Reload Tab" does nothing. The page loads only when I stop and reload.

    Sorry to bother you, but I think I just solved the problem.

    In the last three days I closed & restarted Firefox several times and stop & restarted my computer twice without solving the problem, but I just started, open Firefox in mode without failure, then closed & restarted Firefox and "link in new window open" seems now function normally.

    Now I feel like a fool for not trying that before asking the question.

  • How to use a variable to browse the XML data

    My chart has xml data that looks like this:

    < getViewResponse >

    < getViewResult >

    < DocumentElement >

    < ColumnChart >

    < month >

    "Dec".

    < NetIncome >

    1000

    < ColumnChart >

    etc.

    etc.

    the following lines in actionscript work perfectly for the table:

    resultxml = event.result.getViewResult.DocumentElement.ColumnChart as XMLList

    chart data provider

    _chartDP = new XMLListCollection (resultxml);

    The last argument of Colum graphic in DocumentElement.ColumnChart will change. I want to make this variable instead.

    I tried DocumentElement +'. ' + this. [ColumnChart] but I get an error telling me that the property does not exist.

    The following almost works:

    event.result.getViewWithTitlesResult.DocumentElement. *.

    but my card has a series of additional data empty.

    How can I adjust the latter to a variable?

    If the data that currently say you XMLList has a single point, just cast to XML with XML (myXMLLIST) or "myXMLLIST in Xml format.

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

  • Using bind variable to allow the user the place where complete clause.

    Hello

    I have a question like that I am able to run in SQL_Developer:
    SELECT INITCAP(c.name) AS "Species Name"
         , AVG(b.height) AS "Avg Height (m)"
      FROM smt_plot_index a
         , smt_photo_plot_data b
         , smt_species_names c
     WHERE a.plot_id = b.plot_id
       AND b.species_name_id = c.species_name_id
       AND a.plot_id IN (2473201,2473202)
     GROUP BY c.name
    But I'd like to do the following in an apex application:
    SELECT INITCAP(c.name) AS "Species Name"
         , AVG(b.height) AS "Avg Height (m)"
      FROM smt_plot_index a
         , smt_photo_plot_data b
         , smt_species_names c
     WHERE a.plot_id = b.plot_id
       AND b.species_name_id = c.species_name_id
       AND a.plot_id IN ( :P11_ENTER_PLOT_NUMBERS )
     GROUP BY c.name
    But this returns an error:

    error report:
    ORA-01722: invalid number

    I know that if I included only one number for example 2473201 in the element: P11_ENTER_PLOT_NUMBERS it market, but if I try and enter the following text in the element 2473201,2473202 it does not work. The screen session state, said that the value of the item is correct depending on how I entered it.

    Anyone have any solutions for this?
    Thank you
    Ben

    Published by: Benton on May 6, 2010 13:54

    Very strange... read the whole message again, there is already something, you should change: INSTR (': ' |: P11_ENTER_PLOT_NUMBERS |': ',' :'|| a.plot_id |': ') > 0 use INSTR ("," |: P11_ENTER_PLOT_NUMBERS |) ',', ',' || a.plot_id | ', ') > 0

    When you use one as a separator instead of:

    You can try to run in the SQL Developer and see how it works?
    If it works, then you would look in session state to see what values are actually used.

    I tried with BLAKE as a value in P1_TEST and that seems to work:
    Select *.
    WCP
    where INSTR (': ' |: P1_TEST |': ',' :'||) Ename |': ') > 0

    Hope that helps,
    Dimitri

  • How to use bind variable to update the DB 11 GR 2 access data

    Hello Experts,

    By DB version 11 GR 2

    Operating system Windows Server 2012 - 64 bit

    I want to update some data base record Access to oracle with database link. Here is my SQL, which works.

    UPDATE Transaction@DB_LINK
    SET "WorkCode"=1
    WHERE "WorkCode"=0; 
    

    But, I need to change that to

    UPDATE Transaction@DB_LINK
    SET "WorkCode"=1
    WHERE "DateTime"=:VARIABLE_DATE_TIME; 
    

    and a 2nd does not.

    Any code help or example?

    Ask2Learn

    Hello

    Use DBMS_HS_PASSTHROUGH

    try something of

    DECLARE
      c       BINARY_INTEGER;
      nr      NUMBER;
    BEGIN
    
      c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@DB_LINK;
    
      DBMS_HS_PASSTHROUGH.PARSE@ATTD_ENVOYF(c,'UPDATE Transaction@ATTD_ENVOYF SET "WorkCode"=1
      where "DateTime" = '||''||VARIABLE_DATE_TIME||'');
      nr:=DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@DB_LINK(c);
      DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@DB_LINK(c);
    
    END;
    

    Hope this helps

    Hamid

  • Using substitution variables to remove the columns of v11.1.2.1

    We have several forms that have the version 11.1.1.1 the & FcYear (projected year) and periods of time in the direction of the column. For periods of time, I select:
    & Mth01
    & Mth02
    & Mth03
    & Mth04
    & Mth05
    & Mth06
    & Mth07
    & Mth08
    & Mth09
    & Mth10
    & Mth11
    & Mth12
    Yeartotal

    Currently all the & Mth vars are on Nov except for & Mth12 tends to decrease. What which reached in V11.1.1.1 is a form where the actual months disappear to the & FcYear year door. In other words, in V11.1.1.1 a form designed like that, now only shows Nov, Dec and YearTotal for FY11. However in V11.1.2.1 it displays Nov 11 times, and then decrease, then YearTotal!

    So my question is: are there at - it a setting I'm missing in the forms V11.1.2.1 Designer to say the form to remove repetitions?

    See you soon

    Published by: user964802 on November 2, 2011 14:40

    Hello
    It is a correction of a bug. Take a look at the post below:
    Re: Working capital forecast form design (column replication as a data)

    See you soon,.
    Alp

  • How to use substitution variables, as in Microsoft Word using Hyperion Smart view

    Can we use the Substitution Variables to copy data points and cool off in Microsoft Word? I tried and it does not dynamically (copy the data points only copies what was in excellent cell right there). It copies only the static value of this variable for this cell. I want to use dynamically in Word so that if I change the value of this variable in Essbase, it is updated in Word on refresh. Any idea?

    We need this notification feature in microsoft word and keep using data points every year (instead of copy the cells of excellent on new)

    Any help or suggestion is appreciated.

    Thank you

    You may not use substitution variables, as with the copy data points. I tried a while back (after 111.1.2.1.102) and it wouldn't work.  I checked with Oracle development and they said that I is not available

  • Cannot open tabs with a command of keyboard or successively on the + tab

    Using Cmd + T click on the + tab in the tabs won't open a tab. I can open a tab by Cmd + clicking on a link on a Web page, but not independently.

    Hi jscher2000,.

    It's funny - I found the 'fix', who worked for reasons that I do not understand (not that it matter - I can reuse tabs).

    I simply downloaded the everything to the more recent/beta version of Firefox (31.0b2), installed and restarted the application. Now everything works like a charm.

    Thanks a lot to join me and offer these tips. I really appreciate it.

    Sara

  • Button "Exit", used in several images of the sequence

    I hope that there is a more elegant way to do...

    See the VI attached for a much simplified program that is typical of what I am trying to accomplish.  Basically I have a button that I want available in several images in the sequence.  In this case, I used a button "quit".  When you press on, the program passes by remaining sequence frames until it ends.  The last image "unclicks" the button "Exit".  This last image is necessary because I had to put the mechanical action of the Exit button for "switch when released" because I used local variables in all the images in the sequence after the first.

    Is there a way I can accomplish the same functionality of this program without using local variables and/or during the definition of the mechanical action of the 'exit' switch to ' lock releasing?  Specifically, I'm looking for solutions that will work in several images of a structure of stacked sequence (I realized there are ways for the three lights without using a structure of stacked sequence, but I'm not interested in doing).

    Any help would be greatly appreciated!  Thank you!

    Something where you're looking at a sequence of steps, you really recommended using a state machine architecture.  (Search the forums for examples).

    Having several structures event with cases duplicated in different settings of a structure of stacked sequence (it would be a little better if you used a structure rather flat sequence), only to request trouble on the road.

Maybe you are looking for

  • 2-digit checksum

    I have a wall paper LED I want to send values too, I have not the Protocol but monitored the serial communication. Test65 65 is a sort of checksum digit, can someone tell me how to calculate this? Another example where 36 is the checksum Hello36 Than

  • Canon t5i, 50mm f1.4 and 85mm f1.8?

    Hey guys im new SLR digital. I recently bought my Canon Rebel t5i with the 18-135mm lens. Now, I want to upgrade a little to take pictures of family, etc.. I don't have to buy the 50mm f1.4 or the 85mm 1.8 Please help.

  • BlackBerry Q5 my bb q5 doesn´t find the last update (mi bb q5 don't me encuentra addition 10.3...)

    I tried to update my blackberry to my camera, computer and the web. New it s so there the software10.1.0.2309.I find updates and tells me that there is again, on computer and laptop, so I can't update it somehow. I have a wi - fi, 4G connection and i

  • my printer runs a test each time until it prints what I plan

    my printer works a test color/black whenever I try to print a document. How can I stop this?

  • How to get the paragraph style menu to detach?

    I wish that the paragraph style menu to behave the way the menu character, that is, as its own independent box. Crazy me a little tied to any "other Panel" - no matter what the name of this Panel, it's that it is attached to.Thank you very much!