MattBaldry
Self Taught, Learn from the Forums
- Local time
- Today, 11:21
- Joined
- Feb 5, 2019
- Messages
- 330
Hi All,
I am designed a new returns database at work. To generate a returns number I would like it to be something like below.
20-09-001 where the 20 is the year, 09 is the month and 001 is the number of return for that year and month.
I can work this fine using DMax, but what I ideally want is each month the return count starts again at 001.
This way we can monitor which months are generating the most returns at a quick glance.
In my table I am thinking I need 3 fields, ReturnNumber, ReturnYear, ReturnMonth. I then display these in the format above for my list.
The part I am struggling with is the ReturnNumber part resetting in a new month.
Am I looking at this too complex? Is there any easier way?
~Matt
I am designed a new returns database at work. To generate a returns number I would like it to be something like below.
20-09-001 where the 20 is the year, 09 is the month and 001 is the number of return for that year and month.
I can work this fine using DMax, but what I ideally want is each month the return count starts again at 001.
This way we can monitor which months are generating the most returns at a quick glance.
In my table I am thinking I need 3 fields, ReturnNumber, ReturnYear, ReturnMonth. I then display these in the format above for my list.
The part I am struggling with is the ReturnNumber part resetting in a new month.
Am I looking at this too complex? Is there any easier way?
~Matt