|
K
|
kdgsv 10/13/2020 |
|
For your inspiration: $sql="select max(substr(tbl_project_id,9)) as mx from tbl_project where substr(tbl_project_id,7,2)=month(now()) order by mx";
|
|
|
|
Sergey Kornilov admin 10/13/2020 |
|
If you need to save this number to the database use BeforeAdd event like Matthias suggested. |
|
|
J
|
Jan author 10/14/2020 |
|
thanks for the valuable information ! |
|
|
R
|
ringlis1 10/29/2020 |
|
I have added this code to the event Before Record Added, however, it is not adding to the last number, I keep getting the same number. Any ideas? |
|
|
S
|
smez 10/30/2020 |
|
Try: |
|