Can I do the following ?

I have two tables with columns
T1 - A,B,C,X and
T2- X,Y.
Can I create forms for both in separate regions on a single page and have only One button to update both simultaneously. ?
Say Region 1 contains text fields for X,Y and Region 2 contains text field for A (where update T1.X=T2.X for A in T1)
I hope its clear n simple :(

yeah. I have seen master Detail. But in my case Until and unless update t1.X, it wont show in detail. right ? I want to update few of T1 entries after creating t2.X but t1.X is foreign key which has to be update prior to the Detail Form's appearance so that i get it in detail report. right ?
What other approach should I use ?
T1: A,B,X,Y
T2: X,Y
update T1 entries on creation of T2 where there can be many As for each X.
Ex: Invoice and Payment. Invoice(primary key - A) comes first then Payment (primary key - X). Payment (X) can be related to multiple invoices (A)
please help :(

Similar Messages

  • How can we remove the following zeros from quantity field ?

    Hi All.
    how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
    eg:getting output zqty = 2.000
    but i need           zqty = 2.
    help me to reslove this issue.
    Regards.
    jay

    Hi,
      While populating the field catlog do the following thing to   avoid zeros.
      wa_fieldcat-tabname = 'I_OUTPUT'.    " Curr
      wa_fieldcat-fieldname = 'FWAER'.
      wa_fieldcat-seltext_l = text-023.
      wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR  wa_fieldcat.
    Thanks,
    Khushbu.

  • Can I rewrite the following query without using Row_number() function ??!!

    Hello every one, can I rewrite the following query without using the 'ROW_NUMBER() OVER ' part.
    The query is supposed to pull out the records whose CODE is not NULL and has most
    recent date for UPDATE_DATE . The reason I wanted to do this is, When I embed this query
    in between many other queries along with JOINs, My oracle server is unable to execute. So, I thought
    its better to supplant 'ROW_NUMBER() OVER ' logic with something else and try it. .
    SELECT a.* FROM
    (SELECT b.*, ROW_NUMBER() OVER (PARTITION BY b.PIDM
    ORDER BY b.UPDATE_DATE DESC) AS Rno
    FROM
    SELECT *
    FROM SHYNCRO WHERE CODE IS NOT NULL
    )b
    )a
    WHERE a.Rno = 1

    Hi,
    You didn't write over 150 lines of code and then start testing it, did you?
    Don't.
    Take baby steps. Write as little as pssiblem test that. Debug and test again until you have something that does exactly what you want it to do.
    When you have somehting that works perfectly, take one baby step. Add a tiny amount of code, maybe 1 or 2 lines more, and test again.
    When you do get an error, or wrong results, you'll have a much better idea of where the problem is. also, you won't be building code on a flimsy foundation.
    If you need help, post the last working version and the new version with the error. Explain what you're trying to do in the new version.
    The error message indicates line 133. It looks like line 133 of your code is blank. Does your front end allow completely blank lines in the middle of a query? SQL*Plus doesn't by default; you have to say
    SET  SQLBLANKLINES  ONto have a completely blank line in SQL*Plus. (However, lines containing nothing but at commnet are always allowed.)
    You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as indented code) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    The 4 people who posted small code fragments for you to read all did this.  It would be so much easier for people to read your humongeous query if it were formatted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can u write the following query without using group by clause

    select sp.sid, p.pid, p.name from product p, supp_prod sp
    where sp.pid= p.pid and
    sp.sid = ( select sid from supp_prod group by sid
    having count(*) =(select count(*) from product));
    thru this, we retrieving all the products delivered by the supplier.
    Can you write the following query without using the group by clause

      select sp.sid, p.pid, p.name
        from product p, supp_prod sp
       where sp.pid= p.pid the above query will still retrieve all the products supplied by the supplier. sub-query is not necessary.
    maybe if you can post some sample data and output will help us understand what you want to achieve.

  • How can i do the following in the oracle forms developer :

    How can i do the following in the oracle forms developer :
    1- delete or add new item to block and canvus at the RUNTIME ????
    2- change the following property at the RUNTIME :
    - item type
    - datatype
    - database item
    - column name

    How can i do the following in the oracle forms
    developer :
    1- delete or add new item to block and canvus at the
    RUNTIME ????It's not possible, you can do enabled/not enabled, or visible/not visible
    2- change the following property at the RUNTIME :
    - item typeno
    - datatypeno
    - database itemno
    - column nameno
    You are not lucky :-)

  • Remove navigation panel and the section says " you can fill out the following form"

    Hi all,
    I need to remove navigation panel on the left side and also
    the section which is below toolbar and above actual pdf starts which says " you can fill out the following form and save the data.
    Can I hide or remove them using JavaScript? How?
    Regards
    Vas

    Not Possible

  • Can we explain the following counter..FCP_SW_CNTR_RX_WT_AVG_B2B_ZERO

    Can we explain the following counter..FCP_SW_CNTR_RX_WT_AVG_B2B_ZERO
    We see it when looking for dropped packets on the ds-9248-256k9 port blades.

    Hi,
    FCP_SW_CNTR_RX_WT_AVG_B2B_ZERO is the average amount of times the RX buffer to buffer credits went to 0 on that interface.  If you are seeing the counter increasing it could be because of a slow drain device in the fabric.

  • How can we create the following DOC?

    how can we create the following Documents?
    Two Enquiry one quotation.
    Two Quotation one Sales Order.
    Two Sales Order one Delivery.
    Two Delivery one Billing.

    Hi,
    You need to execute the below transaction:
    1) T.Code - VL11 : To create 2 different enquiry. To make a single Quotation for 2 enqury, use T.Code - VL21. Here once you enter the main screen, select drop down on Sales Document Type, the first option on topmest line & you will get an option --> Create with reference. Select the first enquiry & enter & repreat the sceond enquiry & enter. Now Both Enquiry will be a part of same Quotation.
    2) T.Code - VL21: To create 2 different Quotation. To make a single Quotation for 2 enqury, use T.Code - VL01. Here once you enter the main screen, select drop down on Sales Document Type, the first option on topmest line & you will get an option --> Create with reference. Select the first enquiry & enter & repreat the sceond enquiry & enter. Now Both Quotation will be a part of same Order.
    3) T.Code - VA01: To create 2 different Order. To make a single delivery, go to T.Code VL10A & select the 2 Order & create collective processing of Delivery to create a single Delivery.
    4) T.Code - VL01N: To create 2 different Delivery (other T.codes can also be used to create delivery such as VL04, VL10A, VL10C, etc).  To create single Billing for 2 Delivery, go to T.Code: VF01 & enter 2 Delivery numbers & press ENTER. This will merge 2 Delivery together.
    Note: It is assumed that the parameter are common & meet the requirement for combining various documents.
    Regards,
    Rajesh Banka
    Reward suitable points.

  • Can any explain the following:  Background; my company uses google business app to host our email and calander.   Ok, I just set up a iCal event and invited 3 people.  1 internal claims he never got but it showed on his daughters iPod and she does not ema

    Can any explain the following:  Background; my company uses google business app to host our email and calander.   Ok, I just set up a iCal event and invited 3 people.  1 internal claims he never got but it showed on his daughters iPod and she does not email.

    Hello binbingogoABC,
    Shopping on BestBuy.com should be easy and fun and not fraught with the kind of trouble that you describe. I regret very much that this has been your experience.
    Using the information you provided when you signed up for Best Buy Unboxed I was able to locate your cancelled orders. I have requested more information from my back-office partners. As soon as I have additional details about your situation, I will reply again to this message. In the interim, I'm sorry that I must impose upon your patience.
    I'm very grateful that you wrote to us with your concerns.
    Sincerely,

  • How can I unbundle the following?

    Hello, how can I unbundle the following vi? I want to get the value of "mean" out of the cluster.
    Thanks
    Attachments:
    howto_unbundle_this.vi ‏26 KB

    Matt, if you need the array of means right there on the diagram, options 1 is probably a bit more efficient than your option 3. ;-)
    Option 4 is for the general case if you need to unbundle elsewhere in the code.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    means1-4.gif ‏5 KB

  • I can't install Itunes 10.5. Ite says that it can't find the following file: C:\Program Files\iTunes\iTunes.Resources\fr.lproj. What do I do?

    I can't install Itunes 10.5. Ite says that it can't find the following file: C:\Program Files\iTunes\iTunes.Resources\fr.lproj. What do I do?

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get aCode 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Can someone verify the following regarding Find My Phone:  I assume the lost device (iPhone) and the device (ipad) one is using to find the lost item must have the identical Apple ID, Apple PW, and iCloud PW and username? Otherwise it won't work?

    Can someone verify the following regarding Find My Phone:
      I assume the lost device (iPhone) and the device (ipad) one uses to find the lost item must have identical Apple IDs , PWs as well as identical iCloud identification?

    Back now.  Are you saying that you entered you iCloud ID and password in the Find My iPhone app (see photo below), and it said you don't have an iCloud account?  Are you sure this is the ID for your iCloud account (check Settings>iCloud next to Account at the top on the device you are trying to track)?
    Also, did you try using this ID and password on icloud.com on your computer to try to track it, as explained here: http://help.apple.com/icloud/#mmfc0f2442?  Did that work?

  • How can i do the following in oracle reports

    Hi,
    I have a query that can give me details of the commission for my clients branchwise. We can put the duration, e.g. January, 2009 to June, 2009, which gives me the result for sum of this duration. and in one single column. My concern here is how can i distribute the duration single month wise like following:
    Branch Name Jan 2009 Feb 2009 March 2009....
    Client Name1
    Client Name2
    Client Name3
    Can anyone suggest like how can i do it on report builder or on SQL.
    Thank you.
    Regards
    Ghazni

    Hello,
    ghazani7 wrote:
    See I have the following sum of records from a query and the input values are date range i.e. January 2009 to March 2009:
    BRANCH_CODE     TRADER_CODE     CLIENT_CODE     COMMISSION
    17     0050     BM10     134.15
    17     0050     BM17     64
    17     0050     BM18     25
    17     0050     BM3     4
    17     0050     BM31     6645
    17     0050     BM34     68.5
    17     0050     BM36     467.5
    17     0050     BM48     4.44
    17     0050     BM56     2205
    17     0050     BM6     255
    17     0050     BM60     375
    17     0050     BM62     535
    17     0050     BM67     1821.3
    17     0050     BM70     10So from the above result how would i now that this result related with which month(s). My suggesstion is you will have to include the month column in your query and also in group by statement. Then it will be easy for you to create simple matrix report.
    For posting example data and outputs you should use the tags before and after your example data. For more details see FAQ on forum's page right corner.
    -Ammad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can we diferentiate the follow scenario

    hi friends can any one give me the solluation for the following scensrio
    Our client sells industrial salt (material) in the following three ways
    1, the client produce the material and sell it to the customer
    2, the client buy it form vendor and store the material  in the clint's storage location and sells to the customer
    3, the third one is he buy form vendor and ask teh vendor to deliver it to the end customer
    in these theree scenarios the client is doing business for the SAMEPRODUCT
    here the client wants sales &revinue reports for the own produced products suparately and traded products (which vendor suplied to the customer + sales of which he purchased and stored in clients storage location) suparately.
    how to get the reports for the two above scenarios
    please give me the solluation it will be very helpfull for me
    and i will five full points for the solluation
    thanks
    nitchel

    The scenarios can be mapped by the following ways for the same product
    1) first one is normal sale just like sales order delivery billing
    2) Second one is the Individual Purchase Order where the item is third party item. while raising the sales order if material is not available and want to procure the material from the vendor change the item categroy in the sales order as TAB instead of TAN. for this u have to do the settingin item category determination manual item category should be TAB after TAN
    i mean ORNORMUSAGE+HIGHER LEVEL ITEMCATEGORY= TAN AND TAB IS IN MANUAL ITEM CATEGORY FIELD
    3)follow the second  process for third one as item category will be TAS .in item category determination mention the manual item category as TAS.
    Reports u can see the customer wise, material wise see the follwoing list
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC
    Customer Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    Blocked orders - V.14
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22                                     
    dont forget to reward points if helpful
    Thanks and Regards,
    Rahul

  • Can I do the following with sharing.

    Hi everyone. I'm a new switcher and i've bought 2 macbook pro's. I'm thinking of buying a mac mini to through over by the TV... One of the things we are looking into is can we use the mini as a main photo depot. I've played around with the sharing ability in iphoto and I see the following big limitations... Are there any tricks or third party utilities to help get around the following:
    1)When browsing albums, You can only see the most top level album-- So if I have a 2006 folder/album and under it all the albums for 2006 events, when shared, the shared computer only see's 2006 and not the sub albums!!! Big oversight it seems.
    2)Can we mark an option to cache the thumbnails of a specific shared library??
    3) PUSHING! I would rather not have to walk over to where ever the server computer is and work on it... I want to do everything from my notebook. I would like to import photo's to my computer. And organize them and then "push" them to the server iphoto bringing across keywords(which really blow in photo!) and the album structure they are in....
    Any thought on how to do these things??
    Thanks.
    Lawrence--
    also--- any word if the whole keyword/album workflow is going to get polished? Seems very clunky coming from Photoshop Elements organizer where the tags are wonderful!

    Lawrence:
    You're further into to sharing than I am but here's some food for thought. Store you source file on the Mini. They should be in an over all container folder and sub-folders similar to this but with different titles to suit your style.
    Then for each Macbook Pro create a new, alias based library and import the source files from the Mini. As long as the laptops are connected to the Mini you will be able to operate the library normally and separately from the other laptop. Any edits made on laptop 1 stays on #1 (sounds like a Las Vegas ad) and the same with laptop 2. The source files are never touched. You can rearrange the files as you'd like in the library and, as I said, the source files remain as is. Even deletions from a library are for that only library.
    One caveat to this system is that when you add new photos to the source files they should be in their own folder so the users can compare the folders to their rolls and see which are the newly added photos.
    If the laptops are not connected to the Mini then the libraries will be limited to viewing thumbnails only, adding comments, creating and moving albums and, with some difficulty and aggravation, adding keywords. You just cannot do any editing, work with books, slides shows or anything that required the full sized image. I suppose if you went on the road and wanted to have a slideshow you could temporarily change your preferences so you would import the full sized image and have them while disconnected from the Mini.
    My library of 16,700 images (27G on the external HD) is only 1.7G in size. Here are some Tutorials on how to achieve an all alias based system.
    The first tutorial shows how you can write your iPhoto keywords to the source files for use later or for the transition over to an all alias based system.
    I don't know how you plan to be linked to the Mini but it should be doable. Maybe wirelessly with Airport but I've no experience with wireless networking.

  • How Can I make the following query faster

    Hi Guru
    I want your valuable suggestion to make the following query faster.I did not write all required columns list. I gave here all those columns where I have conditon like decode,case when,or subquery
    (SELECT CASE WHEN REPORTED_BY IS NULL THEN
              (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.EMP_NO_RADIO)
         ELSE (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.REPORTED_BY) END RADIOLOGIST_NAME,
         (SELECT TEAM_NAME FROM DC_TECHTEAMMST WHERE TEAM_NO = M.GROUP_NO) GROUP_NAME,
         CASE WHEN M.RESULT_ENTRY_LOCK_BY IS NOT NULL THEN 'R'
    WHEN M.REPORT_DONE = 'D' THEN 'D'
    WHEN M.REPORT_DONE = 'P' THEN 'P'
    WHEN M.REPORT_DONE = 'F' THEN 'F'
         WHEN NVL(M.IMG_CAPTURED,'X') NOT IN ('B','Y') OR M.QA_RESULT = 'F' THEN 'S'
    WHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') NOT IN ('B','P') THEN 'Q'
         wHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') IN ('B','P') THEN 'C'
    END STATUS,
         (SELECT DECODE(NVL(V.DELIVERY_STATUS,'N'),'E',3,'U',2,1)
              FROM FN_VOUCHERCHD V WHERE V.VOUCHER_NO = M.VOUCHER_NO AND V.ITEM_NO = M.TEST_NO) DELIVERY_STATUS,
         trunc((start_time-order_end)*24,0)||' hr'||':'||
         decode(length(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)),2,to_char(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0))
              ,1,to_char('0'||trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)))||' mi' duration_order_capture,
         DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',NVL(R.NAME,R.name_lang_name||' '||R.name_lang_fname)) PAT_NAME,
         FNC_PATIENTAGE(R.REG_NO,'',R.CONFIDENTIAL_PATIENT) pat_age,
         DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',R.PATIENT_SEX) PAT_SEX
    FROM DC_MODALITYAPPOINTMENT M,DC_TESTMST T,OP_REGISTRATION R
    WHERE M.ACCESSION_NO IS NOT NULL AND NVL(M.CANCEL_FLAG,'N') = 'N'
    AND (NVL(T.SP_GEN,'S') = 'S' OR NVL(M.DOC_REQ_GEN,'N') = 'Y')
    AND M.TEST_NO IS NOT NULL AND M.TEST_NO = T.TEST_NO AND M.REG_NO = R.REG_NO)
    How can I make the above query faster.
    Query condition or indexing whatever is preferable please guide me.
    The approximate data of tables
    DC_MODALITYAPPOINTMENT 2,000,000
    A lot of updating is going on some columns of this table.all columns are not in the select list, Insertion is happend in batch process by back-end trigger of another table.
    Primary key based one column,
    OP_REGISTRATION 500,000
    Daily insertion on this table around 500 records,updation is not much.
    Primary key based one column 'reg_no'
    DC_TESTMST
    Total records of this table not more than 1500.This is setup table. Insertion and updation is not much on this table also
    I have to create a view based on this query .
    and I have to create another view to serve another purpose.
    In the 2nd view I need this query as well as I need another query by using union all operator based on a table(dc_oldresult)
    which have 1,600,000 records.There is no DML on this table
    SELECT      NVL((SELECT USER_DEFINE_TEST_NO FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ),SV_ID) USER_D_EXAM_NO,
    (SELECT TEST_TYPE FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ) EXAM_TYPE,
         NVL((SELECT TEST_NAME FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1),'Exam Code: '||sv_id) EXAM_NAME,
         (SELECT PAT_NAME FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_NAME,
         (SELECT PAT_AGE FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_AGE,
         (SELECT PAT_SEX FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_GENDER
    FROM DC_OLDRESULT
    WHERE HN IS NOT NULL AND SV_ID IS NOT NULL AND UPPER(ACTIVE) = 'TRUE'
    Should I make join DC_OLDRESULT, OP_REGISTRATION and DC_TESTMST? or The eixisting subquery is better?
    I use OP_REGISTRATION and DC_TESTMST in both query
    Thanks in advance
    Mokarem

    When your query takes too long ...

Maybe you are looking for

  • Adobe Flash Player does not work

    Suddenly all web sites using Flash Player no longer work showing the error message that I will have to install the latest Flash Player. I followed instructions in help and I used the uninstaller and resinstalled but it still doesn't work on any web s

  • ALV date format problem

    Hi , I Created an ALV report in that I am getting the sales order details... and once I get the list I am moving to excel sheet ... Once I moved to excel sheet by creating the layout , I am getting DAT colums as 00.00.0000 if the cell is empty.. how

  • Weblogic.jar not found

    Hi, Going throu' a strange problem. I am calling an applet method from javascript. This applet method in turn access certain ejb methods which needs the class files of weblogic.jar. I have this weblogic.jar in the classpath, applet archive and both a

  • Retractable (3rd party?) headset for E51

    Hello, I've recently acquired an E51 and today I excitedly(!) received a package from Germany containing some HDC-10 headsets with their 2.5mm plugs. I connected one to the E51 and got the message "Enhancement not supported". For years I had an even

  • Urgent ( Material number to be defined in MM)

    Hi, I wanted to define a number for new material in a Plant, could you please let me know where I could configure this. Thanks Asam