How to build what a parent child record looked like from audit history

I've got a simple parent child relationship (eg DEPT/EMP) and I have audit triggers on the 2 tables that log any changes. The 2 tables are seen by the User as 1 entity, so if an EMP record changes, that is essentially a DEPT change. I want to show a record where the info shown is correct at that particular point in time.
Now for a very crude example to illustrate...
So, says it's 9:00 and we have:
Dept 1=Sales
Emp 1=Clark
Emp 2=Smith
Now we change Emp 1 at 9:01 to Smythe
Next we change Dept 2 at 9:02 to Sales UK
Next we add Emp 3=Jones at 9:04
Next we change Emp1 at 9:05 to Clarke
So now if the User looks at the history of Dept 1 they will see it has changed at the following times:
9:01 (emp change)
9:02 (dept change)
9:04 (emp change)
9:05 (emp change)
even though the actual Dept table was only changed once.
This part is easy enough to extract but the next part I'm struggling to get my head around (must be Friday afternoon!).
The User wants to be able to view what the "Dept" looked like at the time of the change. So we would get the following results:
9:00 Dept 1=Sales, Emp 1=Clark, Emp 2=Smith (as per original data)
9:01 Dept 1=Sales, Emp 1=Clark, Emp 2=Smythe
9:02 Dept 1=Sales UK, Emp 1=Clark, Emp 2=Smythe
9:04 Dept 1=Sales UK, Emp 1=Clark, Emp 2=Smythe, Emp 3=Jones
9:05 Dept 1=Sales UK, Emp 1=Clarke, Emp 2=Smythe, Emp 3=Jones
I'm trying to write a bit of SQL to do this but the tricky bit comes in due to having 2 different tables that have triggered the change to a "DEPT". I see the output as being as many rows as there are children, so the raw output for the above summary would be along the lines of:
9:00, Dept 1=Sales, Emp 1=Clark
9:00, Dept 1=Sales, Emp 2=Smith
9:01, Dept 1=Sales, Emp 1=Clark
9:01, Dept 1=Sales, Emp 2=Smythe
9:02, Dept 1=Sales UK, Emp 1=Clark
9:02, Dept 1=Sales UK, Emp 2=Smythe
9:04, Dept 1=Sales UK, Emp 1=Clark
9:04, Dept 1=Sales UK, Emp 2=Smythe
9:04, Dept 1=Sales UK, Emp 3=Jones
9:05, Dept 1=Sales UK, Emp 1=Clarke
9:05, Dept 1=Sales UK, Emp 2=Smythe
9:05, Dept 1=Sales UK, Emp 3=Jones
Any help appreciated!!
An alternative to all this is to make my trigger on each table populate this info (ie write whatever is currently in place) into a table structured as I have mentioned above (so Dept i denormalised) but that looks to be a bit messy.

Two tables, Dept and Emp. Both have audit triggers inserting into it's own audit table.
create or replace table DEPT(
dept_no number,
dept_name varchar2(50),
dept_city varchar2(50));
create or replace table EMP(
emp_no number,
emp_surname varchar2(100),
emp_firstname varchar2(50),
emp_dept_no number);dept_no pk of DEPT
emp_no pk of EMP
emp_dept_no FK from EMP to DEPT.dept_no
create or replace table DEPT_AUDIT(
dept_no number,
dept_name varchar2(50),
dept_city varchar2(50),
audit_date_time date);
create or replace table EMP_AUDIT(
emp_no number,
emp_surname varchar2(100),
emp_firstname varchar2(50),
emp_dept_no number,
audit_date_time date)
create or replace trigger dept_audit
after insert or update
on dept for each row
begin
  insert into dept_audit(dept_no, dept_name, dept_city, audit_date_time)
  values(:NEW.dept_no, :NEW.dept_name, :NEW.dept_city, sysdate);
end;
create or replace trigger emp_audit
after insert or update
on emp for each row
begin
  insert into emp_audit(emp_no, emp_surname, emp_firstname, emp_dept_no, audit_date_time)
  values(:NEW.emp_no, :NEW.emp_surname, :NEW.emp_firstname, :NEW.emp_dept_no, sysdate);
end;My above example (ignoring that the columns don't match up but hopefully you get the drift) would end up with the following results in the 2 audit tables:
DEPT_AUDIT
9:00 Dept 1=Sales (insert)
9:02 Dept 1=Sales UK (update)
EMP_AUDIT
9:00 Emp 1=Clark (insert)
9:00 Emp 2=Smith (insert)
9:01 Emp 2=Smythe (update)
9:04 Emp 3=Jones (insert)
9:05 Emp 1=Clarke (update)
As I said originally, I want to get a view of what the "DEPT" looked like at a particular time and to do this I need to take into account the EMP changes for the DEPT which is why my results would be as follows:
9:00 Dept 1=Sales, Emp 1=Clark, Emp 2=Smith
9:01 Dept 1=Sales, Emp 1=Clark, Emp 2=Smythe
9:02 Dept 1=Sales UK, Emp 1=Clark, Emp 2=Smythe
9:04 Dept 1=Sales UK, Emp 1=Clark, Emp 2=Smythe, Emp 3=Jones
9:05 Dept 1=Sales UK, Emp 1=Clarke, Emp 2=Smythe, Emp 3=Jones
Though what I really want is the rows that make it up like:
9:00, Dept 1=Sales, Emp 1=Clark
9:00, Dept 1=Sales, Emp 2=Smith
9:01, Dept 1=Sales, Emp 1=Clark
9:01, Dept 1=Sales, Emp 2=Smythe
9:02, Dept 1=Sales UK, Emp 1=Clark
9:02, Dept 1=Sales UK, Emp 2=Smythe
9:04, Dept 1=Sales UK, Emp 1=Clark
9:04, Dept 1=Sales UK, Emp 2=Smythe
9:04, Dept 1=Sales UK, Emp 3=Jones
9:05, Dept 1=Sales UK, Emp 1=Clarke
9:05, Dept 1=Sales UK, Emp 2=Smythe
9:05, Dept 1=Sales UK, Emp 3=Jones
Hope that is a bit clearer.
thanks for taking time to look.

Similar Messages

  • How to expect what my print job will look like?

    I had a colored picture that I wanted to print. My printer is white and black. I wanted to see how the black and white will look like before actually printing it. I used a free online service to convert to black and white before printing. Any other way to do that?

    The place to set black and white probably depends to some extent on your printer and possibly the application you are printing from.  Here is how it worked for me when printing from Safari:
    I had to click the dropdown that says "Safari" here (toward the lower right):
    From there, I chose "Print Settings" and could then check the "Greyscale" box as shown here:
    Your settings may well vary depending on your printer.

  • How to preview what HD- SD footage will look like

    Hi,
    I recorded a concert with 2 cameras:
    Canon XL1 SD (mini DV)
    Canon HF11 AVCHD
    I know that the end product will be in SD, but is there way to preview which camera's footage looks better in SD? The XL1 in native SD, or the HF11 from HD->SD?
    Thanks!

    No, just needed someone to jog my brain back from 'brainfart' status.
    I'll export a short clip of each.
    You're probably right- comes down to the lenses.

  • What is parent child alv report

    what is parent child ALV report?

    Hi,
    I thing u r asking about Hierarchial sequential list display report.
    Kindly go through the below report it may helps to u the concept of parent child report.
    REPORT  YMS_HIERSEQLISTDISPLAY                      .
    Program with FM REUSE_ALV_HIERSEQ_LIST_DISPLAY                      *
    Author : Michel PIOUD                                               *
    Email : [email protected]  HomePage : http://www.geocities.com/mpioud *
    TYPE-POOLS: slis.                    " ALV Global types
    CONSTANTS :
      c_x VALUE 'X',
      c_gt_vbap TYPE SLIS_TABNAME VALUE 'GT_VBAP',
      c_gt_vbak TYPE SLIS_TABNAME VALUE 'GT_VBAK'.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.    "#EC NEEDED
    PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_2 FOR FIELD p_expand. "#EC NEEDED
    PARAMETERS p_expand AS CHECKBOX DEFAULT c_x.
    SELECTION-SCREEN END OF LINE.
    TYPES :
    1st Table
      BEGIN OF ty_vbak,
        vbeln TYPE vbak-vbeln,             " Sales document
        kunnr TYPE vbak-kunnr,             " Sold-to party
        netwr TYPE vbak-netwr,             " Net Value of the Sales Order
        erdat TYPE vbak-erdat,             " Creation date
        waerk TYPE vbak-waerk,             " SD document currency
        expand TYPE xfeld,
      END OF ty_vbak,
    2nd Table
      BEGIN OF ty_vbap,
        vbeln TYPE vbap-vbeln,             " Sales document
        posnr TYPE vbap-posnr,             " Sales document
        matnr TYPE vbap-matnr,             " Material number
        netwr TYPE vbap-netwr,             " Net Value of the Sales Order
        waerk TYPE vbap-waerk,             " SD document currency
      END OF ty_vbap.
    DATA :
    1st Table
      gt_vbak TYPE TABLE OF ty_vbak,
    2nd Table
      gt_vbap TYPE TABLE OF ty_vbap.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
      v_2 = 'With ''EXPAND'' field'.
    START-OF-SELECTION.
    Read Sales Document: Header Data
      SELECT vbeln kunnr netwr waerk erdat
        FROM vbak
          UP TO p_max ROWS
        INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
      IF NOT gt_vbak[] IS INITIAL.
      Read Sales Document: Item Data
        SELECT vbeln posnr matnr netwr waerk
          FROM vbap
          INTO CORRESPONDING FIELDS OF TABLE gt_vbap
           FOR ALL ENTRIES IN gt_vbak
         WHERE vbeln = gt_vbak-vbeln.
      ENDIF.
      PERFORM f_display.
          Form  F_DISPLAY
    FORM f_display.
    Macro definition
      DEFINE m_fieldcat.
        ls_fieldcat-tabname = &1.
        ls_fieldcat-fieldname = &2.
        ls_fieldcat-ref_tabname = &3.
        ls_fieldcat-cfieldname = &4.       " Field with currency unit
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        ls_sort-tabname = &1.
        ls_sort-fieldname = &2.
        ls_sort-up        = c_x.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_layout   TYPE slis_layout_alv,
        ls_keyinfo  TYPE slis_keyinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv," Sort table
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
      ls_layout-group_change_edit = c_x.
      ls_layout-colwidth_optimize = c_x.
      ls_layout-zebra             = c_x.
      ls_layout-detail_popup      = c_x.
      ls_layout-get_selinfos      = c_x.
      IF p_expand = c_x.
        ls_layout-expand_fieldname  = 'EXPAND'.
      ENDIF.
    Build field catalog and sort table
      m_fieldcat c_gt_vbak 'VBELN' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'KUNNR' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'NETWR' 'VBAK' 'WAERK'.
      m_fieldcat c_gt_vbak 'WAERK' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'ERDAT' 'VBAK' ''.
      m_fieldcat c_gt_vbap 'POSNR' 'VBAP' ''.
      m_fieldcat c_gt_vbap 'MATNR' 'VBAP' ''.
      m_fieldcat c_gt_vbap 'NETWR' 'VBAP' 'WAERK'.
      m_fieldcat c_gt_vbap 'WAERK' 'VBAP' ''.
      m_sort c_gt_vbak 'KUNNR'.
      m_sort c_gt_vbap 'NETWR'.
      ls_keyinfo-header01 = 'VBELN'.
      ls_keyinfo-item01 = 'VBELN'.
      ls_keyinfo-item02 = 'POSNR'.
    Dipslay Hierarchical list
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = sy-cprog
          i_callback_user_command = 'USER_COMMAND'
          is_layout               = ls_layout
          it_fieldcat             = lt_fieldcat
          it_sort                 = lt_sort
          i_tabname_header        = c_gt_vbak
          i_tabname_item          = c_gt_vbap
          is_keyinfo              = ls_keyinfo
        TABLES
          t_outtab_header         = gt_vbak
          t_outtab_item           = gt_vbap
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                               " F_LIST_DISPLAY
          Form USER_COMMAND                                             *
    FORM user_command USING i_ucomm     TYPE sy-ucomm
                            is_selfield TYPE slis_selfield.     "#EC CALLED
      DATA ls_vbak TYPE ty_vbak.
      CASE i_ucomm.
        WHEN '&IC1'.                       " Pick
          CASE is_selfield-tabname.
            WHEN c_gt_vbap.
            WHEN c_gt_vbak.
              READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
              IF sy-subrc EQ 0.
              Sales order number
                SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
              Display Sales Order
                CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDFORM.                               " USER_COMMAND
    END OF PROGRAM Z_ALV_HIERSEQ_LIST ******************
    Thanks,
    Sankar M

  • Parent/child records from same table

    I want to create a query that is a union such that the 2nd resultset is based on the 1st resultset. I have a table that has parent/child records in the same table.
    Table: EVENTS
    EVENT_ID
    PARENT_EVENT_ID
    CREATED_DATE
    (other columns)
    if PARENT_EVENT_ID is null then it is a parent record, else it is a child record. I want to select all parent records then union them with all the associated child records...something like this:
    select * from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null -- All parents
    union
    select * from EVENTS where PARENT_EVENT_ID in (select EVENT_ID from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null) -- include any children of parents selected from above
    This works but it's kind of ugly, I want to avoid using the sub-select in the 2nd because it is a repeat of the 1st statement, is there a way to alias the first statement and just refer to it in the 2nd query?

    Hi,
    kev374 wrote:
    Thanks, one question...
    I did a test and it seems the child rows have to also satisfy the parent row's where clause, take this example:
    EVENT_ID|PARENT_EVENT_ID|CREATED_DATE
    2438 | (null) | April 9 2013
    2439 | 2438 | April 11 2013
    2440 | 2438 | April 11 2013
    select * from EVENTS where CREATED_DATE < sysdate - 9
    start with EVENT_ID = 2438
    connect by PARENT_EVENT_ID = prior EVENT_IDSo you've changed the condition about only wanting roots and their children, and now you want descendants at all levels.
    This pulls in record #2438 (per the sysdate - 9 condition) but 2439 and 2440 are not connected. Is there a way to supress the where clause evaluation for the child records? I just want to pull ALL child records associated with the parent and only want to do the date check on the parent.Since the roots (the only rows you want to exclude) have LEVEL=1, you can get the results you requested like this:
    WHERE   created_date  < SYSDATE - 9
    OR      LEVEL         > 1However, since you're not ruling out the grandchildren and great-grandchildren any more, why wouldn't you just say:
    SELECT  *
    FROM    events
    WHERE   created_date     < SYSDATE - 9
    OR      parent_event_id  IS NOT NULL;?
    CONNECT BY is slow. Don't use it if you don't need it.
    If you x-reference my original query:
    select * from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null -- All parents
    union
    select * from EVENTS where PARENT_EVENT_ID in (select EVENT_ID from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null) -- include any children of parents selected from above
    The 2nd select does not apply the created_date < sysdate - 90 on the children but rather pulls in all related children :)Sorry; my mistake. That's what happens when you don't post sample data, and desired results; people can't test their solutions and find mistakes like that.

  • How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    To see what reports are running, take a look at the execution log views that are available in the database.  Which views that are available are dependent on your version of SSRS.
    http://technet.microsoft.com/en-us/library/ms159110.aspx
    To see which application is using SSRS is a little more difficult.  You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses.  You can also look at the execution log view to see
    user accounts.  So, depending on your environment and use of service accounts, this could be easy, or difficult.
    http://technet.microsoft.com/en-us/library/bb630443.aspx
    If all else fails you can look for clues in the SSRS logs.  Good luck...

  • How do I see who my child is receiving messages from in imessage?

    How do I see who my child is receiving messages from in imessage? I used to be able to monitor it from in Verizon messages.

    Use his/her Apple ID for iMessage on your phone...you'll actually receive the messages in real time.

  • Is Photoshop CC 32 bit, or 64??  From what i can tell, it looks like there's versions of both.  So h

    Is Photoshop CC 32 bit, or 64??  From what i can tell, it looks like there's versions of both.  So how do i know which version i have downloaded in the $9.99 year trial?

    If you're running Windows 64 bit, you'll get both 32 bit and 64 bit versions of Photoshop.
    Run 64 bit Photoshop all the time.
    There's a faint possibility that you may occasionally need the 32 bit version for 32 bit only plugins e.g. TWAIN scanner so Adobe includes it.
    If not, just ignore the 32 bit version and don't use it.

  • What monitor is the best for gauging what the printed document will look like?

    I am working on a 300+ page book that contains a lot of photos that I have converted from color to grayscale in photoshop. I am using a laptop computer and I cannot judge the quality of the photos on this laptop monitor. What is the best monitor for gauging what the finished product will look like? It is a hardcover book that will be offset printed. I do not know if this particular printer uses computer-to-plate technology or if it is "old style." Thanks!

    If you are talking about judging the tonality of the grayscale images there are 2 color profiles that affect the display of a grayscale image. The monitor's profile-- the profile that is created when the monitor is calibrated and describes your monitor's display. And the gray profile that is assigned to the image, if no gray profile is assigned Photoshop's working gray profile is used. By default it is 20% Dot Gain. The accuracy of your grayscale image display depends on how accurate your monitor profile is and the accuracy of the gray profile. You can choose the default 20% Dot Gain but it might not be the press profile.

  • I downloaded Firefox 3.6 and now my tool bar is gone. No back arrows, forward arrows, file, edit, view, history, bookmark, tools....how do I get my web browser to look like a regular browser again?

    I downloaded the new Mozilla web browser and I had a Bing homepage setting. I changed back to yahoo but I ever since downloading I dont have any back arrows, forward arrows, file, edit, view, history, bookmark, tools, address bar....how do I get my web browser to look like a regular browser again?

    For details of how to restore the menus see [https://support.mozilla.com/kb/menu+bar+is+missing]
    Once the menus are back, you can use the View menu, then select Toolbars and click on the names of the toolbars to toggle displaying them.

  • I have an ipad 2 and I noticed I have over 3000 emails in All Mail. I want to know how can I delete these emails. It looks like you can only do it one at a time. It will take me forever. Please help me.

    I have an ipad 2 and I noticed I have over 3000 emails in All Mail. I want to know how can I delete these emails. It looks like you can only do it one at a time. It will take me forever. Please help me.

    You can only delete them one at a time on the iPad. If you have an IMAP email account, go to your email in on the server using a web browser and select as many as you can at a time and delete them that way. That action will be reflected on the iPad. In IMAP - whatever you do on one device syncs across all devices. If you have POP email - start deleting one at a time.

  • How can i fix my icons they all look like negatives and xrays

    HOW CAN I FIX MY ICONS THEY ALL LOOK LIKE NEGATIVES AND XRAYS

    System Prefs > Universal Access > White on Black OFF.

  • What kind of monitor is best for judging what the printed image will look like?

    I am working on a 300+ page book that contains a lot of photos that I have converted from color to grayscale in photoshop. I am using a laptop computer and I cannot judge the quality of the photos on this laptop monitor. What is the best monitor for gauging what the finished product will look like? It is a hardcover book that will be offset printed. I do not know if this particular printer uses computer-to-plate technology or if it is "old style." Thanks!

    helotes115 wrote:
    What is the best monitor for gauging what the finished product will look like?
    A good one...like for example this:
    http://www.bhphotovideo.com/c/search?N=11083422&InitialSearch=yes&sts=pi
    You need to set your calibration parameters very carefully. Eizo ColorNavigator (and NEC Spectraview) are the only calibrators that give you full control of the calibration parameters, because they communicate directly with the monitor. Hence my recommendation of the CS240, which is the least expensive model in this market segment. Excellent value for money.
    Set the white point so that it is a visual equivalent to paper white, both in luminance and color. A little experimenting is necessary. Start around 100 cd/m² and 6300K, and adjust as needed. Ambient light affects your perception, which is why no fixed numbers can be given.
    Even more important: set a realistic black point. Monitor manufacturers love to boast huge contrast ranges, like 1000:1 and so on. Impressive on paper, but in reality there's no way you'll get those deep blacks in print. Especially not offset print.
    My starting point for offset is 0.5 cd/m², but often that turns out to be too low and I end up with 0.6 or even 0.7. This depends a lot on the paper stock.
    Next, ask the printer what CMYK profile is used for the actual process. Here in Europe, that's most likely ISO Coated v2 300% (eci) or Coated FOGRA39, in other parts of the world it will be something else. Use Photoshop to soft proof to this profile. Again, the Eizo is wide gamut and covers ISO Coated almost 100%. A standard gamut monitor will be a lot less useful for soft proofing.
    With a little experience and effort, you can get close to 100% reliable prediction on screen.

  • Did Did the designers of the Federal Health Care Insurance Exchange get hired on at Verizon?...given how the pre-order is going it sure looks like it

    Did Did the designers of the Federal Health Care Insurance Exchange get hired on at Verizon?...given how the pre-order is going it sure looks like it

    You keep using the word insurance. Do you pay extra for insurance from Asurian or is your iPhone being replaced under the manufacturer warranty ? This second option is not insurance so you would have to contact Asurian directly. With this insurance there is a paid premium each month on your cell invoice, you have to pay a deductible to get your replacement device which can run up to $200
    Verizon cannot assist you at the store under insurance, only manufacturers warranty and they can give you the phone number and web site address to start your claim process.
    In the future get your iPhone insurance through Apple Care, its only $99 for the two years and you just walk into the Apple Store near you and get service.
    Good Luck

  • How to achieve parent - child record insert in forms

    Guys,
    I am new to forms. I do have a requirement where I need to create one tabular block for 10 rows (parent record) and then I need to create three tabular tabs of 5 rows for detailed records (child). That means each tab can have 5 records for 1 parent row.. Thats how this parent-child structure has ONE to MANY relationships
    To achieve this requirement I created one parent block of table type (using table XX_Parent) and then I created three detailed block for each tab (Tab_A,Tab_B,Tab_C) using child table (XX_Child). For each tab while inserting the data I took one context_value column in child table. i.e. when I insert the data using Tab_A , context_value column will be A. In the same way B and C for Tab_B for Tab_C respectively. And I wrote this logic at PRE-INSERT trigger for each tab. But when I insert the data for all the tabs, it allows me to enter successfully for Tab_A only, the moment I navigate from Tab_A to enter the data intoTab_B, it throws me error like "You are passing NULL value to set context_value". I hope I make the requirement clear to you.
    I am not sure if I am following the right approach to achieve my requirement. if its not right, please suggest me right one.. and if its right please guide me resolve the error..
    Looking forward to your reply.
    Thanks
    Sunil

    Andreas,
    I had already created relations between Matster Block -Tab_A block, Master Block -Tab_B block and Master Block - Tab_C block...
    The point is all the three tabs are created using one table XX_Child only.. I used context_value A,B and C respectively so that once I query the data for XX_Child from backend, I should be in a position to figure out what data is inserted using Tab A, B and C. why I need so .. because If take my entire form in query mode and search for a master record.. then Tab_A, tab_B and Tab_C display their respective data. I hope, I make you understand.. Can you please guide me.
    Thanks
    Sunil

Maybe you are looking for

  • Boot Camp Windows 7 fails to restart/shut down properly

    Hey everyone, I'm having a huge issue right now with Boot Camp. I don't know what the root of my problem is or what is influencing it, but I'm at the end of my patience because I've already removed AND repartitioned my 15'' MacBook Pro Retina's hard

  • Mavericks Pages 5 documents won't open

    I upgraded to Mavericks a few days ago. I have documents that were created in Pages '09 that will no longer open. (Some will, and I don't know what the difference is) When I try to open one, it either opens, no problem, or I get the message "The requ

  • Dynamic Structure / Element building

    Hallo, I am new to Java and have some problems at building Elements and handling like passing them to some dynamic structure and letting the references be handled without losing the elements in memory. There are also some questions about general memo

  • X11.app

    I have an 12" iBook G4 with Tiger 10.4.7 a regular CD-ROM drive. I downloaded a program that also required that X11.app be installed onto my computer and is said to be on the Tiger dvd. However: 1.) Since I only have a CD-ROM drive I had to send for

  • Problems with my new Z10

    Hello, I have been a curve user for years and got back with Blackbery with the z10. I am having trouble transferring my contacts, data, messages and pictures from my old smart phone a non-blackberrry device to the Z10. As well for some reason I can n