This topic is locked

duplicated value on list page

5/18/2015 8:21:10 AM
PHPRunner General questions
Hackepeter author

Hi Folks,
I followed the hints on topic Display field concat values show up in List View
table: KHTSP

linkfield: SP

display: SPNAME - longname according to "SP"

I have to allow multiple selection.
I use a dropdown to EDIT and ADD the field "SP". This is working fine.

Only on the List page I want to display the raw value of the field "SP".
I set the view as settings of the field SP to custom an placed the code

$value = $data['SP'];

.

If the database field has one entry ('REA') the this is displayed once on list page --> 'REA'

If the dbfield has two entries ('REA,V&T') then both are displayed twice. --> 'REA,V&T,REA,V&T'

If th dbfield has three entries ('FDFK,REA,V&T') then the field on the listpage is diplayed as a tripple. --> ('FDFK,REA,V&T,FDFK,REA,V&T,FDFK,REA,V&T')

..and so on!
My feeling is that this comes from the sql statement. I could not manage to find the reason or solve this.
Please help me. Any hints are welcome
greetings peter

Sergey Kornilov admin 5/18/2015

Unfortunately there is not enough info to answer this question.
If you need more help publish your application to Demo Account and send me the URL where I can see and troubleshoot this issue. 'Demo Account' button can be found on the last screen ('Finished') in the program.