Foriegn key concept not working with check table

Consider, there are two tables like emp_personal and emp_official.
In emp_personal table , the fields are empid, empname, dob for example. In this table, empid is the primary key field.
In emp_official table, the fields are empid, dept, designation for example. In this also, empid is the Primary key.
Now we relate these two tables using the foreign key relationship.
Now, emp_personal is the Check table .
emp_official table is the Foreign key table.
for example create some 5 records in the emp_personal table .
Table : emp_personal :   Primary Key - empid
empid       empname       empdob             Status 
   1            AAA            1.1.1990           Record saved successfully
   2            BBB            2.2.1990           Record saved successfully
   3            CCC            3.3.1990           Record saved successfully
   4            DDD           4.4.1990           Record saved successfully
   5            EEE            5.5.1990           Record saved successfully
Records are saved in the table : emp_personal.
Now, Am tryiing to create records in emp_official table.
Table : emp_official :   Primary Key or not a Primary Key - empid
empid        dept              designation        Status 
   1            Dept1           S.E                   Record saved successfully
   2            Dept2           S.SE                 Record saved successfully
Now, if am  try to create the record which is not in the table emp_personal, which has the empid = 6.Normaly it'll not allow us to create the record 6,
But the think is its allow to create.
   6            Dept6           P.M                  Here also status is record saved
Kindly help me out.

did you read the documentation for "screen check"/"check required" flag in foreign key screen? it says:
Flag for check of input values wanted on screen
Definition
This flag defines whether an input check should be executed on the screen for the field. This definition is applies to all the screens on which the check field appears.
The check can be switched off again with the flag set for certain screens (by canceling the flag 'For. key' in the attributes of the corresponding screen field).
Use
Switching off the screen check can be useful in the following cases:
if for test reasons there is to be no check
if a semantic foreign key is used for the aggregate definition but no input check is to be executed.

Similar Messages

  • Modifer keys do not work with mouse in Illustrator

    Below is a copy of a bug report I just submitted to Adobe. I don't suppose any users have run across this and found a solution or workaround?
    I found someone else with this problem in an archived topic thread, but the only response that poor fellow got was an accusation of not following instructions (His problem wasn't user error, BTW).
    Thanks
    ******BUG******
    Concise problem statement:
    Modifer keys do not work with mouse: For example, free transform or rotate behaviors that require "Click-Ctrl" .
    Steps to reproduce bug:
    1. select object
    2. select free transform tool
    3. left click (without releasing) a corner of the bounding box.
    4. start dragging
    5. press ctrl
    Results:
    object behaves as though the ctrl key was not pressed. i.e. the cursor does not change shape and the object scales rather than distorts.
    Expected results: The cursor should change shape as the ctrl key is pressed and the object should distort rather than scale.
    Additional information: This behavior is intermittent. Occasionally Illustrator recognizes the "Click-Ctrl" combination and behaves exactly as the help file predicts it will. The cursor changes shape and the object distorts rather than scales. I can offer no rhyme or reason for when Illustrator will behave as advertised and when it will ignore the modifier keys.
    The example above involves the free transform tool, but the problem occurs just as often with other tool behaviors that require a modifier key + mouse combination.
    Primarily using Wacom Intuos3 tablet. (with latest drivers), but have also tried combinations with microsoft mouse or both mice installed.
    Also, immediately after an occurrence Illustrator bug, left AI open, went to a different app that uses mouse+modifier (Ctrl+Click). That different app recognizes Ctrl+Click with no problems whatsoever.

    Thanks Guys,
    Good to know it's working for you. I guess that's the nature of intermittent bugs. Of course, Adobe's bug report form has a field for version, which I, of course, filled in. Sorry I didn't add it to this post. I'm using the latest version CS3 v13.0.2.
    Stephen,
    Sorry I was not more clear when I said, "For example, ...". I was talking about the modifier keys not working with several different tools. The Free Transform tool advertises functionality that is supposed to work with a "Click (down, but don't release)then hold down Ctrl" combination. The Rotate tool advertises a behavior that is supposed to work with an "Alt-Click" combination. These are just 2 examples of the modifier keys not working. I focused primarily on one example in the bug report(ctrl after and in addition to click in the free transform tool, not alt-click in the rotate tool).
    Here is what I expect(quoted from Adobe's CS3 help file)
    (From the "Distort Objects with the Free transform tool" help topic)
    "Select one or more objects.
    Select the Free Transform tool .
    Start dragging a corner handle on the bounding box (not a side handle), and then do one of the following:
    Hold down Ctrl (Windows) or Command (Mac OS) until the selection is at the desired level of distortion.
    Hold down Shift+Alt+Ctrl (Windows) or Shift+Option+Command (Mac OS) to distort in perspective."
    (from the "Rotate an object by a specific angle" help topic:)
    You can control the exact angle of rotation with the Rotate command.
    Select one or more objects.
    "Do one of the following:
    To rotate around the center point, choose Object > Transform > Rotate, or double-click the Rotate tool.
    To rotate around a different reference point, select the Rotate tool. Then Alt‑click (Windows) or Option‑click (Mac OS) where you want the reference point to be in the document window.
    Enter the rotation angle in the Angle text box...."
    These Tool based mouse-key combinations do occasionally work as they are supposed to, so I know what the expected results are supposed to look like, but whether they work or not appears to depend on the phase of the moon, the day of the week, and the color of the president's underwear.
    Other non-tool based mouse-key combinations in Illustrator work consistently all the time - Ctrl-A for Select All as just one example that always works.
    Thanks Again

  • Product key will not work with this edition of Windows 7

    I received a product key for Windows 7 Professional N whilst I was at University via Dreamspark. I'm building a new computer and when it's come to inputting the product key, it comes up saying Product key will not work with this edition of Windows 7.
    The version I installed was Windows 7 Professional using an iso and a USB. I rang the phone activation number and when I got through to a representative, I gave him the product key and he said it is valid and should be working. He transferred me to technical
    services but instead I got cut off.
    At this point I'm really not sure what the issue is, the key was for Windows 7 Professional N, I installed Windows 7 Professional and customer support confirmed it as a valid key. Am I missing something?

    Post your issue to the Windows 7 Genuine Issues forum.  Here are the instructions on how to produce a diagnostic:
    MGA
    Diagnostic Report:
    To properly analyze and solve problems with Activation and Validation, we need to see a full copy of the diagnostic report produced by the MGADiag tool (download and save to desktop -http://go.microsoft.com/fwlink/?linkid=52012 )
    Once downloaded, run the tool.
    Click on the Continue button, after a short time, the Continue button will change to a Copy button.
    Click on the Copy button in the tool (ignore any error messages at this point), and then paste (using either r-click/Paste, or Ctrl+V ) into your post.
    One
    Issue Per Thread:
    Most Activation and Validation issues look the same, on the surface, but can have many different causes and fixes. This is why we ask for a diagnostic report and this is also why we ask that you create your own thread for your issue (in other words,
    don't post your issue in another person's thread). 
    It just becomes too complicated to try to troubleshoot multiple different issues in the same thread.
    New
    to the Forums?
    Instructions
    by  Kamin of Ressik 
    Wanikiya and Dyami--Team Zigzag

  • Hp t510 right alt key mapping not working with ctrl + s

    Using the HP t510 to launch a xendesktop session via storefront. We have a mission critical application that uses the ctrl + alt + s hotkey to secure itself. The left alt key with ctrl + s is working as it should but the right alt key does not. When testing in the win7 on screen keyboard the right alt and ctrl stay lit up. When hitting the S key after depressing both the  right alt + ctrl (right or left ctrl doesn't matter) the alt keys disappear from the on screen keyboard as if they were no longer pushed. They hotkey combination never makes it to the application and it does not secure itself.
    I've tested this same workflow on an ASUS thin client, desktop, and laptop hardware with no issues. It does in fact seem to be some hotkey mapping the HP device has baked into it using the right alt key.
    Has anyone seen any issues that even closely mimic this? I've seen some for ctrl + alt + del but their fixes don't work for this specific issue.

    Hello xXenStatex,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that the alt key mapping is not working with ctrl + s on your Thin Client, and I would be happy to guide you towards a resolution!
    I am sorry, but to get your issue more exposure, I would suggest posting it in the commercial forums, since this is a commercial product. You can do this at:
    http://h30499.www3.hp.com/t5/Workstations-Thin-Clients/bd-p/bsc-635
    I hope this helps!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • F2 key does not work with excel

    Dear Friends,
    when i am working with excel, f2 key does not work as its shortcut. can you please help me how i can solve this. thanks a lot

    what if you press Fn + F2? Does anything pop up?
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Enter key does not work with MSTSC

    I have SQL Develoepr 1.0.0.15.57 installed on a Windows Server 2003 (Ver. 5.2 SP 1). I use Microsoft Terminal Services Client (mstsc.exe) to get to that server from a Windows XP Professional (ver. 5.1 SP 1) box.
    When I use mstsc to get to the server and launch SQL Develoeper, it works...mostly. But the <enter> key does nothing. I've tried changing the line terminator (tools/preferences/line terminator) from "Platfor Dependant" to "Windows CR/LF" but that has no effect.
    The encoding is set to cp1252 which is the same as my local version on the XP Pro box (both 1.0.0.15 and the new beta 1.1.0.21) which work fine.
    Any ideas why the enter key would not work when using mstsc from an XP box to a Windows Server 2003 box?
    Thanks,
    Shelby

    Look in Tools| Preferences | Accelerators and see if you have a key defined for 'insert new line'.
    If you haven't, try restoring the default accelerators

  • TableChanged() does not work with parrent table reference

    Hi,
    I used this example http://www.javalobby.org/articles/jtable/ where the cells refocus after updating, but I have rewrote it to my needs and the program throws nullpointerexception when I update any cell:(
    here is the tableChanged part of code:
        public class InteractiveTableModelListener implements TableModelListener {
            public void tableChanged(TableModelEvent evt) {
                if (evt.getType() == TableModelEvent.UPDATE) {
                    int column = evt.getColumn();
                    int row = evt.getFirstRow();
                    System.out.println("updated row: " + row + " column: " + column);
                   if((column + 1) >= model.getRowCount()){
                      table.removeColumnSelectionInterval(column,column);
                    }else{
                      table.setColumnSelectionInterval(column + 1, column + 1);
                    table.setRowSelectionInterval(row,row);
    }the table reference worked in the exaple but doesnt work in my program:(
    here is the init of the table in function initComponent:
            tableModel.addTableModelListener(new InteractiveTableModelListener());
            TableSorter sorter = new TableSorter(tableModel);
            JTable table = new JTable(sorter);the class is on the same level as the function
    i have searched all the internet for this with no results:(
    thank you for your advice!

    Yes, you are right, I wrote this post in a hurry and exhaused, that it does not work.
    I'm trying to write out a data file (now only a vector of data) in a JTable and I want to edit the rows and after I submit text in a cell, I want the caret to move one cell right, so the user can write another text, just like in MS Excel. At the end of the row the caret disapears but does not create another row.
    And I have problems with variable JTable table in the inner class that contains method tableChanged().
    Well After making an example I realized it worked and then I checked the example line by line and found out that I declare another JTable with the same name in the table initializing method,
    Then the variable couldnt work in tableChanged method... It was empty...
    I used your example from thread, you advised me:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    public class TableProcessing extends JFrame implements TableModelListener
         // here I declare the table
            protected JTable table;
         public TableProcessing()
              String[] columnNames = {"Item", "Quantity", "Price", "Cost"};
              Object[][] data =
                   {"Bread", new Integer(1), new Double(1.11), new Double(1.11)},
                   {"Milk", new Integer(1), new Double(2.22), new Double(2.22)},
                   {"Tea", new Integer(1), new Double(3.33), new Double(3.33)},
                   {"Cofee", new Integer(1), new Double(4.44), new Double(4.44)}
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              model.addTableModelListener( this );
                    // here I declare it again, which is a MISTAKE
              JTable table = new JTable( model )
                   //  Returning the Class of each column will allow different
                   //  renderers to be used based on Class
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
                   //  The Cost is not editable
                   public boolean isCellEditable(int row, int column)
                        int modelColumn = convertColumnIndexToModel( column );
                        return (modelColumn == 3) ? false : true;
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
          *  The cost is recalculated whenever the quantity or price is changed
         public void tableChanged(TableModelEvent e)
              System.out.println(e.getSource());
              if (e.getType() == TableModelEvent.UPDATE)
                   int row = e.getFirstRow();
                   int column = e.getColumn();
                   if (column == 1 || column == 2)
                                   // AND here is not initialised - throws NullPointerException
                        TableModel model = table.getModel();
                        int     quantity = ((Integer)model.getValueAt(row, 1)).intValue();
                        double price = ((Double)model.getValueAt(row, 2)).doubleValue();
                        Double value = new Double(quantity * price);
                        model.setValueAt(value, row, 3);
         public static void main(String[] args)
              TableProcessing frame = new TableProcessing();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • Satellite Pro A200 - Fn keys does not work with Windows Vista

    Hello,
    I own a Satellite Pro A200-PSAE7E and a retail license for Windows Vista Ultimate 32bit (with SP1) installed on it.
    Before installing Vista, I upgraded the BIOS to the most recent version available on the Toshiba site ([http://it.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/vista_drivers.jsp?service=IT]).
    BIOS version is now 2.20-WIN32 contained in this file: [http://support.toshiba-tro.de/tedd-files2/0/bios-20080404121735.zip]
    After the successful installation of the operating system, I installed the "Value Added Package" ([http://support1.toshiba-tro.de/tedd-files2/0/vap-20080109135106.zip]) which contains the "Flash Cards Utility". In my understanding, the installation of the "Value Added Package" should enable the Fn keys usage.
    This doesn't seem to be true or not completely true.
    Here is what happens.
    - Before the installation of the "Value Added Package" all the Fn keys didn't work.
    - After the installation of the "Value Added Package", if the TCrdMain.exe process is running, all the Fn keys don't work.
    - If I remove the TCrdMain.exe from the startup and I reboot the PC, only some Fn keys work (Fn+ESC, Fn+F1).
    There is no way (or I didn't find a way) to make all the Fn keys working.
    Does anybody know how to solve this problem?
    Thanx in advance,
    mme000

    I do not know for sure but it can be because of SP1. I have installed Vista Ultimate on A200 and all listed stuff (drivers, tools and utilities) from Toshiba support page.
    Does your installations Vista DVD contains SP1 or you have installed it on your own? If you install Vista Ultimate (without SP1) and all stuff from Toshiba support site following Installations Instructions order.

  • "member of " not working with nested table of dates

    Can someone explain why this doesn't work. The last select does not return any row. When trying the same with a table of number, it works fine.
    drop table test;
    drop type date_tab;
    create type date_tab as table of date;
    create table test(dates date_tab) nested table dates store as dates;
    insert into test values (date_tab(to_date('10-jan-2007'),to_date('15-jan-2007'),to_date('15-jan-2007')));
    commit;
    select * from test where to_date('10-jan-2007') member of dates;
    Line above should find the row, but does not return anything.

    > With 10G Oracle said that these two engines are now sharing the same source code
    Is that documented somewhere? Regarding database versions, it was 9.0.1 that claimed an integrated parser. I don't see any update for 10g.
    > So in the old days one had to do a [SELECT sysdate INTO d FROM dual] to assign a function value to a PL/SQL var - as the function did not exist in PL/SQL.
    Then (from Oracle 7 onwards?) these functions were also available in PL/SQL. However, the two engines did not share common code. So functions in SQL did not always behave like function in PL/SQL and vice versa.
    I don't recall that limitation in PL/SQL v1 (Forms 3 to 4.5, and database v6, though I doubt many people actually used PL/SQL on the database because (1) it was separately licensed, and (2) it didn't have stored procedures) - but then it was a while ago so I could be mistaken.
    I know USER, SYSDATE and others used to be implicit queries of dual (i.e. the supplied PL/SQL function was just a wrapper containing SELECT SYSDATE INTO dt FROM dual; RETURN dt;) although that's probably just confusing the issue.

  • Key board not working with hp 2000, window 8

    I have a hp 2000 lap top tablet with windows 8. The key board stop working. First it was the numbers, then letters. I just bought a wireless key board just so I could research the problem.  Any ideas?

    It sounds like the laptop keyboard cable may be loose or your laptop keyboard may need to be replaced. If an external keyboard is working just fine, it should mean that the motherboard is just fine.
    If the laptop is still under warranty, I would contact HP, they should fix it for you. They will not want you trying to fix it yourself (at least without them knowing about it) without voiding your warranty.
    Otherwise, you may need to find someone that can take care of it for you. If you feel comfortable doing so, you can find keyboards on Ebay for less than $20 usually and tutorials that will walk you through the whole process of replacing it. Of all the parts to replace on a laptop, the keyboard is generally one of the easiest to fix, but I would research it out a little before attempting.

  • Modifier Keys suddenly not working with Numberpads

    I favor the use of a numberpad and as such i have been using a third party USB Numberpad.  I also have a Apple wired keyboard that comes with the number pad.
    All these while, the modifier keys (shift, alt, ctrl) works with the numberpad and the numberpad section of the apple keyboard.  Somehow, recently, not sure when, it no longer works.
    I've tried to reset default on the modifier key section but it just doesn't work... This is really frustrating.  the only thing i remember installing lately is "bettertouchtool" and buying a magic mouse. 
    Bettertouchtool is not usually running unless i choose to run it, so i'm not sure how that affecs it, not am i sure if totally removing it via a third party app helps.
    Appreciate HELP! PLEASE!

    i am having the same problem.  It just started a few days ago.  Im thinkin its a problem with the most recent update.  Im goin to contact apple to let them know.   I'll post again when i hear something.  If anyone figures it out before then please let us know!

  • 9iR2 : FORALL UPDATE is not working with remote table

    Hi,
    I am trying to use BULK COLLECT & FORALL to get records from a remote table (using Dblink) and insert the copy of the data locally and update the remote table to mark the record being processed. FORALL is working well with local tables but with not remote table. Am I missing some thing here interms of permissions or it would n't work that way?
    Thanks
    Sara

    Hello,
    I have the exact same question. I understand I cannot use FORALL with a database link, but what is the best alternative?
    The removte databases are on ships and the bandwidth is very narrow. I need to bulk collect about 8000 records a day; update the loacal database; and then update the remote (ship) database that I have taken these records.
    I can use the database link in a classic cursor FOR loop, but with the narrow bandwidtch it takes hours.
    Short of writing a file on the local server, ftp'ing it to the remote server any suggestions? Would Advanced Queuing be appropriate here?
    Gary

  • G505s - Touchpad hot key function not working with lenovo driver

    I'm using windows 8.1, Lenovo G505s laptop. Recently I got replacement from Lenovo regarding touchpad after that this Fn(F7) touchpad enable/disable not working. This is happening only when I installied touchpad driver provided by lenovo and works well with standard microsoft driver (Ofcourse, no multigesture support with that driver).
    We perfomed following operations:
    1. HotKey mode enable/disable in BIOS
    2.Reinstallation of OS
    3. Reinstallation of driver(manually)
    All cases with microsoft driver this function working but with touchpad driver it is not working. It's almost 90days (88thday) daily contacting both Lenovo customer support and service center people but no use.
    If anybody having this problem and have a solution please share! (My machine under warranty!)

    hi phani_kumar,
    It's likely that you have a Synaptics driver (you can verify this by its hardware ID or use a utility software like AIDA 64 Extreme Edition).
    - Link to picture (Synaptics)
    - Link to picture (ELAN
    If you're unable to install the driver below, can you follow this guide on how to disable driver signature enforcement then try to reinstall the driver again and observe if you can now toggle the Fn+F6.
    Windows 8/7/XP/Vista 64/32-bit Edition v17.0.19
    All Languages
    118.1 MB zip
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • X1 Laptop Fn Key is not working with F2-F12

    Hi all, 
    Any information on this would be appreciated. I updated the Hotkey application that some other users recommended, but this has worked to no avail.
    I also disabled stickykeys. 
    I'm just not sure why it doesn't work. The Fn key with the conjunction of the space bar does allow the keyboard light to come on.

    hey mikolchunk,
    try uninstalling and then reinstalling the hotkeys software.
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Web Service Test in SE80 does not work with internal Table

    Hello,
    I have created a web server based on a function module. It works fine when the server is invoked from outside (.Net or SOAPUI).
    However, when I test it in SE80, (open the Server and then F8), it shows error message:
         Access to the table ref. node 'Y02VSI_CAE_CONDITIONITEM' outside a loop
    (Germany Zugriff auf den Tabellen-Ref-Node 'Y02VSI_CAE_CONDITIONITEM' außerhalb einer Schleife )
    The test xml is generated from SAP, I just fill the data as following:
    This XML is absolute correct. Why item ('Y02VSI_CAE_CONDITIONITEM) is outside a loop?
    Is it a bug from SAP?
    Thanks in advance!
    Regards
    Dianlong

    Hi Dianlong,
    Please check if SAP note 1132501 is relevant for your ECC release. If you apply the note, you may have to re-generate the web service from the function module.
    Regards, Trevor

Maybe you are looking for