| Index
» Projekty
» phpMyEdit
» Fórum
» field lookup in two tables |
 |
bentuinstra
Založený: 12.09.2004
Príspevky: 29
Zaslal: 2005-04-06 08:39
Návrat hore
Odpovedať s citátom
|
Hi all,
I would like to read a field from another table and with the given result do a lookup in another table.
Here is a simplified table definition:
| Kód: |
Table1:
ID1
NAME
STATUS
Table2:
ID2
DESC
STATUS
Table3:
ID3
NAME |
While viewing table1 the status field should be read from table2.status (this works). But in Table2 the status field is read from table3, where the real name is.
So when I read the status field from table2 I only get an ID, not the name which is in table3. Hope my description is clear enough.
Anyone an Idea if this is possible in PME?
Kind regards,
Ben
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2005-04-06 09:15
Návrat hore
Odpovedať s citátom
|
a little tweaking is needed...
http://opensource.platon.sk/forum/projects/viewtopic.php?t=103&highlight=table+lookup
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|