Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  field lookup in two tables

phpMyEdit General     field lookup in two tables
Odoslať novú tému   Odpovedať na tému    
 
bentuinstra     Založený: 12.09.2004   Príspevky: 29  
Príspevok 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
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov