Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 28. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Show a field value but set an other

phpMyEdit Configuration     Show a field value but set an other
Odoslať novú tému   Odpovedať na tému    
 
siebensieben77     Založený: 10.09.2010   Príspevky: 1  
Príspevok Zaslal: 2010-09-10 10:38
Návrat hore  Odpovedať s citátom     

Hello,

I want to show the user 'Name' and 'Persnumber' in a selection box with a table lookup, but I want to set just the persnumber, because it is unique, if he select a value. I thought this is possible with the description option, but it doesn't work. Know anyone why?
This is my code:

$opts['fdd']['PERSNR'] = array(
'name' => 'PERSNR',
'select' => 'T',
'maxlen' => 6,
'sort' => true,
'values' => array('table' => 'MITARBEITER','column' => 'PERSNR',
'description' => array('columns' => array('NAME','PERSNR'),'divs' => ' '))
);


Thanks

Kai

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2010-09-11 14:07
Návrat hore  Odpovedať s citátom     

Try this:

Kód:
'columns'  => array('0' => 'NAME', '1' => 'PERSNR'),


 
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