Double DML question

Hi, i have a form with two regions, in every region i have some fields for data entry
the first region work on table A and in the second region work on table B
is possible to manage automated fetch row e automated row process in both table A & B in the same form?
Thanks,
Robi

Robi - It might work if the two tables have no column names in common, otherwise no.
Scott

Similar Messages

  • OLAP DML question

    Hello,
    I have a question on OLAP DML. Please consider the following example (this is from the sample PERMIT_READ from the supplied global schema). It is an sql import statement which is supposed to be faster than a fetch loop.
    sql import c1 into -
    :_item -
    :_family -
    :_class -
    :_totprod then <product_isvisible (product _item) =  true -
    product_isvisible (product _family) =  true -
    product_isvisible (product _class) =  true -
    product_isvisible (product _totprod) =  true -
    >
    The assumption here is that the cursot c1 has been defined earlier that selects some relational table in four variables.
    The statement then assigns isvisible attribute with true for the different members of product dimension.
    Now here - if the any of the variables (_item, family, class or _totprod) have fetched a value that does not find a match in the dimension I get the following error -
    ERROR: (MXXEQ35) %a %k %j
    %1p is not a valid %2p.
    ERROR: (ORA-34370) Permission to attach analytic workspace GLOBAL.GLOBAL denied by a PERMIT program.
    How can I ignore such errors? and continue with the import execution? If possible, i do not want to use fetch loop.
    THanks.
    pxsheth.

    Here's the full text of the PERMIT_READ program. I added the MATCHSKIPERR but I still get the same errors. I am actually dealing with different dimension here. But that should not matter for the sake of this discussion.
    "* This program scopes the available business_unit dimension members.
    "* This program is called automatically whenever this AW has been attached read-only,
    "* regardless of the mechanism (thru SQL,Discoverer, Spreadsheet Addin, third parties, etc.)
    "* Fine grained access control has been applied to the gc_sec_bu_opr view.
    "* This program reads this table
    "* to determine the business_units and nodes that should be visible to the user
    vrb _bu text
    trap on error
    oknullstatus = yes
    permiterror = no "Do not throw error when attempting to access scoped data
    limit bu to all
    bu_isvisible = NA
    SQL DECLARE c1 CURSOR FOR -
    select business_unit -
    from gcdemo.gc_sec_bu_opr
    sql open c1
    if sqlcode ne 0
    then show sqlerrm
    sql begin
    sql import c1 into -
    :MATCHSKIPERR bu then <buisvisible (bu _bu) =  true>
    sql exception
    sql when others then
    sql null
    sql end
    if sqlcode eq -1
    then show sqlerrm
    SQL close c1
    SQL CLEANUP
    cns bu
    permit read when nafill(bu_isvisible, no)
    alldone:
    return true
    error:
    return false
    "****************************************************************************************

  • DML question about LAG function

    Hello,
    I am trying to get a month-to-date number on a value that is stored as YTD in the cube. That is, for today's month-to-date number, I want to subtract today's value, from last month's value. I am trying to do this with the following statement:
    data - lag(chgdims(data limit lmt(time to parents using time_parentrel)),1,time)
    I'm pretty new to DML, but I know that this is clearly not the correct formula. Does anyone have any ideas on how to do this?
    Thanks

    Dear Fred-san
    Thank you very much for your support on this.
    But, may I double check about what you mentioned above?
    So, what you were mentioning was that if some user executes the query with
    the function module (RFC_READ_TABLE), under the following conditions, he can access to
    the HR data even when he does not have the authorizations for HR transactions?
    <Conditions>
    1. the user has the authorization for HR database tables themselves
    2. RFC_READ_TABLE is called to retrieve the data from HR database
    <example>
    Data: LF_HR_TABLE like  DD02L-TABNAME value 'PA0000'.
    CALL FUNCTION 'RFC_READ_TABLE'
       EXPORTING
        query_table                = LF_HR_TABLE
      TABLES
       OPTIONS                    =
       fields                     =
       data                       =    .
    But then, as long as we call this function module for a non-critical tables such as
    VBAP (sales order) or EKKO (purchase order) within our query, it wouldn't seem to be
    so security risk to use RFC_READ_TABLE...
    Besides, each query (infoset query) has got the concept of user groups, which limits
    the access to the queries within the user group.
    ※If someone does not belong to the user group, he cannot execute the queries within that
       user group, etc
    So, my feeling is that even infoset queries does have authorization concept...
    Would you give me your thought on this?
    I also thank you for your information for SCU0.
    That is an interesting transaction
    Kind regards,
    Takashi

  • R KIMBALL & OLAP DML QUESTIONS

    Hi. I'm a OLAP DML student and like a lot of you (i guess it) i have read Ralph kimbal Books, specifically "The Data Warehouse Lifecycle Toolkit" to undertand multidimesional modeling.
    So.... here i a´m questioning to me how do i put all my multidimensional modeling into Analytic Workspaces Objects. My questios are:
    1) Does exist some documents that teach how to pass from teory to practice, i mean from multidimensional modeling to AW objetcs? (i can pay for it !!!). (I have read all Oracle Examples - SH and Global) and them always show the same - everyiting is ready to work and work-.
    2) Puntually, how do i represent non-hierarchial attributes and how do i use them. I feel that non-hierarchial attributes are not useful to make analysis.... please correct me.
    3) How do i define a default herarchy using OLAP DML and if my dimension have more than one hierarchy how do i work wiht them.

    Hello Lisandro,
    1) The easiest way to create AW objects is to use the AWM application, that comes with online documentation. You can start creating the basic objects (dimensions, cubes, measures, and simple calculations) using the AWM GUI, and continue with the OLAP Worksheet for the other objects, eg. models, aggregation/allocation maps, relations etc. At least the first part of this is also within the scope of a present or upcoming OLAP 10g course from Oracle University.
    2) I'm not sure what you mean by your question. Attributes are global to a dimension (which is obvious if you use a value based dimension), otherwise AWM etc. lets you define attribute projections (limit attributes) to hierarchies and levels.
    3) You can specifically assign a default hierarchy using AWM, or the OLAP AW Java API, Hierachy setIsDefault() method. Also, there is a Normal Form relation DEFAULT_HIER between a dimension and its default hierarchy, but I don't know if you can just add to this relation to make it work.
    Regards, Hans Henrik
    Message was edited by:
    hheriksen 17-Oct-2005 09:53 CET

  • JTable's cell double click question...

    Hello everyone,
    My JTable has some cells with icons and text, and some contains only text.
    All cells are editable, so double clicking on it goes to "edit mode" where user enters new value for the cell.
    Here is my question: Can I somehow determine if user has clicked on an icon?
    What I'm trying to do is to put additional information for cell (some comment), and if comment exists, icon will appear.
    Double clicking on that icon, dialog will show that comment.
    Thanks in advance!

    You did not mention that before. ...You are absolutely right, I didn't.
    Let me emphasize importance of this:
    Can I somehow determine if user has clicked on an icon?
    And when I said "clicked" I mean double click when entering edit mode
    of a cell.
    If I could somehow determine that, I could than
    perform desired action (open a dialog, or something else).
    Thank you for your help so far.

  • Mouse left double click question

    Hello all...
    Well, my son seems to have done something on his system...
    When I log in under his user name, left double click doesn't seem to work. If there is a .pdf on the desktop, left double clicking won't open it. In order to get an application to run from finder, I have to right click & select open. When I log in under my user name, everything works great.
    Question: What did he do & how do I un-do it??
    Thanks.
    <Edited by Moderator>

    Try moving:
    Your son's User name > Library > Preferences > com.apple.systempreferences.plist
    to the desktop and restart the computer which will create a new default set. This will reset his system preferences. If this works you can get rid of the file but will have to reset the rest of his preferences. If it doesn't work you can put the file back into the place from which it came (overwrite the new one that will have been created and restart) to restore his settings and we'll have to try something else.
    It also occurred to me that since I don't have a two button mouse and don't know anything about the kind you have, perhaps it has its own preferences settings which might not be affected by the general system ones. I tested the above by changing my mouse settings and checked which of my preferences files had changed.
    Message was edited by: Limnos

  • OBIEE-11g Double columns question

    Hi guys, on my pc i've installed business intelligence suite 11.1.3 and now I need support about double columns feature. In the business model I've this hierarchy
    Region -> Province -> Municipality
    where the keys for each level are represented by the name of the element, the problem is that this keys are used to map geometric shapes to enable the map views features and the Municipality values are ambiguous in their domain (could exist two municipality with the same name but different province) in the official documentation is wrote that to unique identify a shape should be used a double columns field but when I 'apply the double field feature to the hierarchy levels the drill feature doesn't work properly and I get a strange filter error (seems that the system filter the value by id on the wrong field). Somebody could help me to understand if I can define a hierarchy where the keys have a descriptor id associated ?
    Thanks a lot Regards

    I 've also come up with the same issue. I am using OBIEE 11G (11.1.1.5.0) and Oracle Mapviewer Ver11_1_1_4_B110225.
    On the RPD, My hierarchy is defined as: District -> Quarter -> Neighbourhood.
    For each hierarchy level I am using:
    District Logical Level keys:
    District Id: Primary Key
    District Name: Use for Display
    Quarter Logical Level Keys:
    Quarter Id: Primary Key
    Quarter Name: Use for Display
    Neighbourhood Logical Level Keys:
    Neighbourhood Id: Primary Key
    Neighbourhood Name: Use for Display
    I need to associate each Mapviewer theme's ID (District ID, Quarter ID, Neighbourhood ID) with a relevant BI column, because the theme names are not distinct.
    I have set the double column (Descriptor Id) feature: (District ID, Quarter ID, Neighbourhood ID) on each BI name column (BI Distict Name, BI Quarter Name, BI
    Neighbourhood Name) of the business model and associated the layer key (ID) of each Mapviewer theme with the corresponding BI name column.
    On the map view, drilling down from District to Quarter works properly, but I get the following action error while drilling down from quarter to neighbourhood:
    An error occurred while trying to generate drill down query.
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError:
    46036] Internal Assertion: Condition rowValues.size() == numColumns, file server\Query\Src\SQNavigatorAccess.cpp, line 495. (HY000)
    SQL Issued: {CALL NQSGenerateDrillDownQuery('SELECT District Name saw_0, Quarter Name saw_1, DESCRIPTOR_IDOF(District Name) saw_2, DESCRIPTOR_IDOF(Quarter Name)
    saw_3 FROM "Subject Area" WHERE DESCRIPTOR_IDOF(District) = 5','1','''5'',''31'',31','-1 -1 -1 -1 -1','0,2,3')}
    However, if I add a table view on my analysis and click on the table view's quarter link, drilling down works ok both for the table and for the map view.
    Moreover, I tried removing the double column (descriptor Id) feature from the business model while maintaining the hierarchy as described above.
    I then associated the layer key (ID) of each Mapviewer theme with the corresponding BI ID column instead of the BI name column.
    On the map view while drilling down from District to Quarter, a filter to a specific District is applied, but the associated Quarters theme is not displayed.
    Finally, if I enable the "Use for Display" checkbox for each hierarchy level's primary key on the RPD, and maintain the association between the layer key (ID) of
    each Mapviewer theme with the corresponding BI ID column, drilling down works correctly but only on the ID.
    I need drilling down to work while clicking on the each name BI column of the hierarchy while defining the association on the layer key ID of each mapviewer
    theme. Is this possible? Any ideas?

  • Xsql:dml question

    This is what I am trying:
    <?xml version="1.0"?>
    <page connection="egemdev" xmlns:xsql="urn:oracle-xsql">
    <xsql:dml>
    begin
    ord_cancel_pkg.cancel_order('{@order}');
    exception
    when others then raise;
    end;
    </xsql:dml>
    <xsql:query >
    select order_status .....
    from orders
    where order_number = '{@order}'
    </xsql:query>
    </page>
    However, I don't want the query part to work if the dml part raises an exception. How do I do that?

    Best approach is either to use:
    <xsql:ref-cursor-function>
    and invoke a pl/sql stored function
    that calls your pkg.cancel(), then
    returns a REF CURSOR to the query if successful and a null REF CURSOR (or a REF CURSOR to a query like "SELECT 1 FROM DUAL WHERE 1 = 2" in case calling the proc throws an exception.

  • Double Natting Question

    We just moved into a new place and shaw provides a wireless router for the broadband 50 connection no intstead of just a standalone bridge for the cable modem now.
    2 devices are
    Airport Extreme
    Cisco - DPC3825
    I was just upgrarding firmware and I get this message.
    Problem 1/1 - Double Nat
    Screenshot attached of error
    So I am wondering if I should put this in bridge mode so or in second option. Or should I configure cisco router in bridge mode and change this? Just wondering if anyone had any real life expereince with these.
    Also I work from home and I use an aruba remote ap (RAP2) It creates an ipsec tunnel and connects back to our controller in California. Before we moved I had this connected into my airport extreme that was connected directly to the motorola cable modem.
    Appreciate the help on this.

    You should definitely configure the AirPort Exteme in Bridge Mode since you already have another router "upstream" on your network.
    If you select the "Share a single IP address setting", you will have two devices....both trying to act as routers distributing IP addresses and handling NAT services.
    That....is a virtual guarantee that you will have multiple conflicts on the network.

  • Dumb double quote question in my SQL.

    This maybe a dumb question, but I want the rownum to appear in my query output and not the word 'rownum' - what am I missing. Maybe one too many quotes or missing one somewhere.
    select '**''9'',''f21'',''|| rownum - 1 ||''**' from dual;
    I want this ==> **'9','f21','1'**
    NOT this ==> **'9','f21','|| rownum - 1 ||'**
    Cheers
    John.

    SQL> select '**'||'9'||','||chr(39)||'f21'||chr(39)||','||chr(39)||to_char(rownum-1)||chr(39)||''||'**'  from dual
      2  /
    '**'||'9'||','||CHR(39)||'F21'||CHR(39)||','||CHR(39)|
    **9,'f21','0'**But you will always get 0 rownum-1.
    Khurram
    Message was edited by:
    Khurram Siddiqui

  • Double class question

    How do I do math on the wrapper class? This is what I am trying to do
    Double dc = new Double(10.0);
    double d = 0.0;
    d = dc * 5.0;
    Seems easy... This is my error.
    operator * cannot be applied to java.lang.Double,double
              d = dc * 5.0;

    Unfortunately you cannot perform operations on the primitive wrappers like Double, Integer etc.

  • Double Display Question/Confrimation

    So i am desiring to hook up my Macbook to 2 displays, use my macbook in a closed position with the monitors being used as separate screens. After reading forums, reviews, and a bunch of information here is my plan and i am hoping someone here can confirm/disprove or improve my ideas.
    My plan is to use a Matrox DualHead2Go DP edition to connect to my Macbook via a Displayport/mini Displayport connecter cord. I realize this DualHead2Go product is compatible with Macbook pro only but since i have a NVIDIA GeForce 9400M card and it says its compatiable with 9400M and 9600M cards i believe it should work, tell me if im wrong
    Link: http://www.matrox.com/graphics/en/products/gxm/dh2go/
    Then im going to purchase 2 24" Apple Monitors and use a mini displayport/displayport cord to connect these 2 monitors to the adaptar stated above, and i should be able to see the images i believe.
    Link: http://estore.circuitassembly.com/products/Mini-Displayport-Female-to-Displaypor t-Male-Adapter-Cable.html
    The only problem i see is that it looks like both monitors and the adaptar will require a USB port so i believe i will need to purchase a USB hub or something to that effect.
    Please respond and help me/ explain why i am wrong or right
    I'm unsure if this is the simplest way, and if there is a better way i would love to know
    Thanks for the help
    Message was edited by: Reid Hendry

    After looking at the Matrox website it appears that they CLAIM to support the MacBook Air so I don't know why it wouldn't work on the new 13" MacBook Pro (it should even work on the previous generation 13" unibody MacBook since all three of these systems have nothing more than the 9400M graphics).
    Frankly, however, I suspect that you'll be taking some chance that this setup won't work as seamlessly or as well as Matrox would like you to believe. The principal problem would likely be software support since I'm pretty certain that without a custom driver and/or a custom Displays setting panel you won't be able to select the 3840x1200 output that would be required to drive two 24" Apple displays (2 x 1920) x 1200. Thus, you're going to be relying nearly 100% on some Mac OS X software extensions from Matrox.
    The USB port issue shouldn't be a problem because as you suggest you could always use a powered USB hub to satisfy the twin USB port requirement. I think you will also need a male-to-male Mini DisplayPort to DisplayPort cable to run between the MacBook's Mini DisplayPort output to the input on the Matrox adapter. If you don't have the latter then you will need to combine a Mini DisplayPort cable with the female-to-male adapter you linked to over on estore. Then you'll need two of the female-to-male adapters to connect from the outputs on the Matrox adapter to the captive male Mini DisportPort cables on the Apple displays.
    With all of these cables (USB and DisplayPort) it's not going to be pretty, but if you decide to go this route then please give us an update on how it works.
    Supposedly, a future version of DisplayPort will allow you to daisy-chain displays off of the same output port but whether Apple will support this is unknown. It will most likely require support in the graphics driver (software) and there may even be limitations in the current hardware that would prevent such a display daisy-chain from working. It would be cool, however, if Apple did/could add this as a native feature of their DisportPort implementation (but it will probably require new graphics hardware).

  • Double.parseDouble question

    Hello I am creating a program for school. I am using text fields and if you edit one and click modify it will save the changes. The program displays currency and if you change the field and the $ is there I get an error. How can I have the program drop the $.
    Thanks

    extremeshannon wrote:
    Thanks for the response. In the text field it already displays $dollar amount. If the user is modifying the record and doesn't take out the $ it throws an error.You can just not display the $ in the JTextField (this is Swing, right?), or else parse the text using a currency instance of a NumberFormat object.

  • Double Records in Update from DSO to CUBE

    Hi,
       I have a standard flow of DataSource - DSO - InfoCube - Multi Provider
      The data in DSO is correct BUT the data in INFOCUBE is DOUBLED.
      Question, could this be due to mis match of Key Fields ?
      I only have a subset of DSO Key Fields in my InfoCube.
      Could this be the reason

    Hi,
    once the DSO loads the request into infocube with some records.But the DSO wont be allowed to load the same request in second time. it transfer only '0' records.please check the request in Infocube.
    if that cube have the double data you can delete data in Infocube after compression based on request Id. we can go for Reverse Posting. We can reverse post the data only when we process the data through PSA.
    If u reverse post the data for a compressed request, the data for the compressed request is taken from PSA multiplying with -1 for the key figure values and loaded into the data target.Now the data in the data target is available in F table with negative key figure values.then Compression of Info Cube the data moves from F table to E table and nullifies the data in Infocube for the request ID.
    Note: for deleting the zero key fig values by check mark zero elimination option in collapse tab.

  • Billing charges appear double

    have double freedom, phone and hi speed internet, and it looks like i am being billed twice what i think i signed up for. has anybody fiqured out how to fiqure out the bill?  basic, non basic, non payment of non basic will not result in disconnection??? freedom basic charges and freedom non basic charges
    this all adds up too way to much for way too little. what am i missing? why am i paying a monthly service (basic) charge and then a monthly service charge for verizon and verizon long distance (non basic) which shows the freedom stuff, as i see it the non basic verizon and verizon long distance is the only phone charge i should be actually paying for as it includes local and long distance. these two listed charges are just about equal thus my double
    billing question. have i lost it or am i getting old and slow?
    max_power 

    Kathleen, thank you for your response.
    Two things. First, this double billing has been going on since I signed up with Verizon. Second, how is it that a community message board gets a quicker response then trying to contact the billing folks via phone or email etc, I left a message the same day I posted this and got an automated email response that read sorry but because we are busy it could be awhile before we are able to answer you. Pardon me but I do hope this gets posted as I am not accustomed to being treated in such a manner, I have for over 20+ years been employed by at least one fortune 500 company and another that would very much like to be. They would find this sort of thing to be of such a major problem within there organizations that heads would be rolling and apologist's would be of no excuse. The customer is the most important thing a company has and if even one customer is dissatisfied then that is one
    to many, 100% customer satisfaction is a goal that can never be reached but should never stop being the goal and apparently Verizon either has lost sight of that fact or never sought it as part of there company mission statement. As a consumer I and all of us can spend our money with whomever we
    choose and choosing a company to go with like this we won't be customers of yours for very long. I personally will be taking lets say the next five days
    or less to make my decision as to what I will do. You have my money and can take your time resolving your billing issues since you are so busy.
    I am so amazed that in today's world a company such as this thinks so little of its customers and thinks that we (the customers) don't talk, email, blog
    sit at a coffee shop, bar, well I hope you a getting the picture because once the dissatisfaction story start....You will find and I am sure somewhere in the very upper management area someone knows it will cost 10 times more to get a customer back then it would have to do what it takes to keep him or her a happy satisfied customer in the first place.
    max_power 

Maybe you are looking for

  • G585 - terrible performanc​e - can anybody help

    Hi,  I bought this laptop about a month ago for my mother, she does not need a lot from a notebook. The notebook had Win 8 preinstalled and I was surprised how slow it was. It took me quite a while to download and install Win 8.1. Then I decided that

  • HT1459 how do i reset an ipod i bought that has a passcode on it?

    I bought an Ipod touch 2nd generation used and it has a passcode on it. How do I get this off of there so I can use it?

  • Package for generating charts on the fly

    Hi, I'm looking for a java API that enable its clients to create/design chart image files. The package should be run on server that has no GUI abilities, thus the image processing should be done in a batch manner (package that create chart and places

  • Alternatives To X/Windows For Arch Linux

    Hi, In general, I greatly prefer running under Linux as compared with Windows. Please don't misunderstand me - I think WIndows 7 is a very nice piece of work, and the fact that it remains more or less compatible with earlier and much less accomplishe

  • How to reinstall Photoshop CS3 with external hard drive?

    I have C3 Photoshop, Illustrator, etc. on my iMac. Is there a way to put it on my external drive and put in back on my iMac? (This is if I have to reinstall the OS.) Would it ask for a serial number again? Also, is there a way to verify the serial nu