Foreign Keys
Top  Previous  Next


Table foreign keys are managed on the Foreign Keys tab of the Table Editor.

Add Foreign Key  

To add a foreign key to the table

1 Open the table in the Table Editor.  
2 Open the Foreign Keys tab.  
3 Right-click and select the Add Foreign Key item from the popup menu.  

This opens the Foreign Key Editor dialog, where you can select fields for the key.
 
Edit Foreign Key  
 
To edit the table foreign key

1 Open the table in the Table Editor.  
2 Open the Foreign Keys tab  
3 Double-click the foreign key to edit  
 
or  
 
3 Right-click on the foreign key and select the Edit Foreign Key item from the popup menu  
 
Now you can edit the foreign key in the Foreign Key Editor window.
 
Drop Foreign Key  
 
To drop the table foreign key

1 Open the table in the Table Editor.  
2 Open the Foreign Keys tab.  
3 Right-click on the foreign key and select the Drop Foreign Key item from the popup menu.