Hi
I have been using a calc element to show the ID of a record with a letter appended to the start (egA10) etc in details view.
This works fine but I think it is better for my purposes to set this value by PHP so it is stored not calculated on the fly. I have tried to do this by a php event on list load but I can not get it to return any value. So what I was hoping to find is:
1. How to insert the value of the ID field of a table into another field on the same table.
2. How to append a value to the value returned (eg A, B etc)
Thank you for any assistance.
Kind Regards
I have been using a calc element to show the ID of a record with a letter appended to the start (egA10) etc in details view.
This works fine but I think it is better for my purposes to set this value by PHP so it is stored not calculated on the fly. I have tried to do this by a php event on list load but I can not get it to return any value. So what I was hoping to find is:
1. How to insert the value of the ID field of a table into another field on the same table.
2. How to append a value to the value returned (eg A, B etc)
Thank you for any assistance.
Kind Regards