From 28718d1687ccf5103475aadd9c10c4694dc1fa1d Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 25 Oct 2002 13:03:37 +0000 Subject: [PATCH] clarification --- ChangeLog | 3 +++ Documentation.html | 13 +++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 61d311118..e70c84719 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ $Id$ $Source$ +2002-10-25 Marc Delisle + * Documentation.html, clarification about using Relation View + 2002-10-22 Robin Johnson * user_password.php3: From Patch #625703. * Changelog: Added VIM modelines for filetype, folding and indentation diff --git a/Documentation.html b/Documentation.html index c9f8cc904..9e3f7b7e6 100755 --- a/Documentation.html +++ b/Documentation.html @@ -2278,11 +2278,16 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'      INSERT INTO REL_towns VALUES ('S', 'Sherbrooke');
     INSERT INTO REL_towns VALUES ('M', 'Montréal');

-      INSERT INTO `PMA_relation` VALUES ('mydb', 'REL_persons', 'town_code', 'mydb', 'REL_towns', 'town_code');
-      INSERT INTO `PMA_relation` VALUES ('mydb', 'REL_persons', 'country_code', 'mydb', 'REL_countries', 'country_code');
-      INSERT INTO `PMA_table_info` VALUES ('mydb', 'REL_towns', 'description');
-      INSERT INTO `PMA_table_info` VALUES ('mydb', 'REL_countries', 'description');
+ To setup appropriate links and display information: +
    +
  • on table "persons" click Structure, then Relation view
  • +
  • in Links, for "town_code" choose "towns->code"
  • +
  • in Links, for "country_code" choose "countries->country_code"
  • +
  • on table "towns" click Structure, then Relation view
  • +
  • in "Choose field to display", choose "description"
  • +
  • repeat the two previous steps for table "countries"
  • +

Then test like this: