|
| WB21- Looper problem (php) |
| Iniciado por guest, 27,sep. 2017 15:51 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 27,septiembre 2017 - 15:51 |
Hi
In my webdev php project some loopers are not working as they should.
The code below sometimes leaves the label blank:
ROW DISPLAY OF LOOP_CHAMADOS IF LOOP_CHAMADOS.ATT_Status = 1 THEN LOOP_CHAMADOS[LOOP_CHAMADOS].IMG_STATUS = IMG_RED END IF LOOP_CHAMADOS.ATT_Status = 2 THEN LOOP_CHAMADOS[LOOP_CHAMADOS].IMG_STATUS = IMG_YELLOW END IF LOOP_CHAMADOS.ATT_Status = 3 THEN LOOP_CHAMADOS[LOOP_CHAMADOS].IMG_STATUS = IMG_GREEN END LOOP_CHAMADOS[LOOP_CHAMADOS].FSTC_Nome = Decode(LOOP_CHAMADOS[LOOP_CHAMADOS].ATT_Nome) [attachment 2442 looper.png] |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,septiembre 2017 - 17:43 |
Hi,
The code should be -
IF LOOP_CHAMADOS [LOOP_CHAMADOS].ATT_Status = 1 THEN LOOP_CHAMADOS [LOOP_CHAMADOS] .IMG_STATUS = IMG_RED
Kindest Regards,
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,septiembre 2017 - 20:03 |
Hi Julio
1. You shouldn't use the php mode
2. You should ALWAYS use attributes to work on your looper elements and not the control itself
Best regards |
| |
| |
| | | |
|
| | | | |
| | |
|