[SOLVED] Â Update another table from button |
5/19/2018 17:48:51 | |
| PHPRunner General questions | ||
|
Hi,
|
||
|
C
|
copper21 5/19/2018 |
|
If I am looking at this right, "$values["V1"]==0" won't work because the variable "$values" doesn't have a value in buttons. |
|
|
|
mtpocket author 5/20/2018 |
|
If I am looking at this right, "$values["V1"]==0" won't work because the variable "$values" doesn't have a value in buttons. You have to use $button->getCurrentRecord() to get any values from variables.
|
|
|
|
mtpocket author 5/20/2018 |
|
Hi Brian, The ($values["V1"]==0) does have a value in the record. The button which is located on GRID of LIST page will just move the record to another table if the value=0. Perhaps the above is a better explanation. Thanks
|
|