sathyaganapathi
Board Regular
- Joined
- Apr 29, 2021
- Messages
- 81
- Office Version
- 2016
- Platform
- Windows
Hi all,
I have a access table linked to a excel file with macro.
I need to create a autonumber based on the input date. the automumber should increment by one on every entry. The data entry to access table will be done through excel by macro.
Once the month changes the autonumber should reset to 1 and so on..
example is given in attachment.
I do not use access form to enter the data. the data entry is done through excel and excel macro.
I have used the formula "serNo: DCount("*","Autonumber","id<=" & [id])" to generate the serial no. But, it will not reset every month. It just gives serial number irrespective of munth.
I have a access table linked to a excel file with macro.
I need to create a autonumber based on the input date. the automumber should increment by one on every entry. The data entry to access table will be done through excel by macro.
Once the month changes the autonumber should reset to 1 and so on..
example is given in attachment.
I do not use access form to enter the data. the data entry is done through excel and excel macro.
I have used the formula "serNo: DCount("*","Autonumber","id<=" & [id])" to generate the serial no. But, it will not reset every month. It just gives serial number irrespective of munth.
Last edited: