P
|
procheck 4/26/2011 |
For the List page, you need to use SQL (UPDATE or INSERT ...) to do this. |
![]() |
Sergey Kornilov admin 4/26/2011 |
If you want to update the value of $data["DaysYard"] move your code to List page: Before record processed event. |
![]() |
cyberjas2001 author 4/26/2011 |
For the List page, you need to use SQL (UPDATE or INSERT ...) to do this. The $data value is only updated automatically in the edit event.
|
![]() |
cyberjas2001 author 4/26/2011 |
If you want to update the value of $data["DaysYard"] move your code to List page: Before record processed event.
|
P
|
procheck 4/26/2011 |
It looks like I've learned something here too. I didn't think that these fields were updatable in List mode. |
![]() |
Sergey Kornilov admin 4/26/2011 |
It looks like I've learned something here too. I didn't think that these fields were updatable in List mode. Great to know.
|
P
|
procheck 4/26/2011 |
Ok makes sense. I had misinterpreted the question. I thought that he wanted his table updated. Thanks for the clarification. |
![]() |
cyberjas2001 author 4/26/2011 |
Just to clarify - it won't affect the real data in the database, just the copy of data to be displayed.
|
![]() |
cyberjas2001 author 4/26/2011 |
It looks like I've learned something here too. I didn't think that these fields were updatable in List mode. Great to know.
|
![]() |
Sergey Kornilov admin 4/27/2011 |
prochecksports answered this question already: For the List page, you need to use SQL (UPDATE or INSERT ...) to do this.
|
![]() |
cyberjas2001 author 4/27/2011 |
prochecksports answered this question already: If SQL is not your forte use DAL: http://xlinesoft.com/phprunner/docs/update.htm The question you need to ask yourself - do you really want to update that many records in your database on each list page load?
|