clarification
This commit is contained in:
@@ -6,6 +6,9 @@ $Id$
|
||||
$Source$
|
||||
|
||||
|
||||
2002-10-25 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html, clarification about using Relation View
|
||||
|
||||
2002-10-22 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* user_password.php3: From Patch #625703.
|
||||
* Changelog: Added VIM modelines for filetype, folding and indentation
|
||||
|
@@ -2278,11 +2278,16 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
|
||||
INSERT INTO REL_towns VALUES ('S', 'Sherbrooke');<br />
|
||||
INSERT INTO REL_towns VALUES ('M', 'Montr<74>al');<br />
|
||||
<br />
|
||||
INSERT INTO `PMA_relation` VALUES ('mydb', 'REL_persons', 'town_code', 'mydb', 'REL_towns', 'town_code');<br />
|
||||
INSERT INTO `PMA_relation` VALUES ('mydb', 'REL_persons', 'country_code', 'mydb', 'REL_countries', 'country_code');<br />
|
||||
INSERT INTO `PMA_table_info` VALUES ('mydb', 'REL_towns', 'description');<br />
|
||||
INSERT INTO `PMA_table_info` VALUES ('mydb', 'REL_countries', 'description');<br />
|
||||
</tt>
|
||||
To setup appropriate links and display information:
|
||||
<ul>
|
||||
<li>on table "persons" click Structure, then Relation view</li>
|
||||
<li>in Links, for "town_code" choose "towns->code"</li>
|
||||
<li>in Links, for "country_code" choose "countries->country_code"</li>
|
||||
<li>on table "towns" click Structure, then Relation view</li>
|
||||
<li>in "Choose field to display", choose "description"</li>
|
||||
<li>repeat the two previous steps for table "countries"</li>
|
||||
</ul>
|
||||
<br />
|
||||
Then test like this:
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user