Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2717 Lượt xem

i have field 'model' class that has a name and a shortcut (each class created should have a counter starting from 1) , and another field 'student_number' which should take the value of the shortcut of the class related to , concatenated with the counter value of that class. then on save the counter of that class should increment. I need your help to create a function for this aim .

Ảnh đại diện
Huỷ bỏ