siebensieben77
Založený: 10.09.2010
Príspevky: 1
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)
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
|
|
|