The reference automatically gets generated when the user press Save button. It is in the format as below:
Initials (2 letters)
Date (ddmmyy)
/
UniqueNo
e.g CK140416/121
I am looking for VBA code that will check the field "DocCode" values and let me know the next number after "/". It will be max number after / in the field in the table. so if it is 121 in the table then it should give me 122 so that for the next record it should save CK140416/122
Any help will be much appreciated.
Thanks
Initials (2 letters)
Date (ddmmyy)
/
UniqueNo
e.g CK140416/121
I am looking for VBA code that will check the field "DocCode" values and let me know the next number after "/". It will be max number after / in the field in the table. so if it is 121 in the table then it should give me 122 so that for the next record it should save CK140416/122
Any help will be much appreciated.
Thanks