chrisjames25
Registered User.
- Local time
- Today, 14:26
- Joined
- Dec 1, 2014
- Messages
- 404
Hi
I have a form where i enter batches of products created, and record the when, where how many were created.
Everytime a batch of products is created it get a unique 4 digit code. Due to internal business purposes it cant be more than 4 digits. So what i am looking in vba is 3 fold:
1. How to make first record in this field be 1000 (for label printing software purposes has to start at 1000 and not 0001)
2. how to make the next field autopopulate with 1001, 1002, 1003 etc etc
3. Assuming the more difficult part, how to make it so that when the batch number gets to 9999 it knows that the next record should return to 1000.
If anymore explantation is required, please shout.
Cheers
I have a form where i enter batches of products created, and record the when, where how many were created.
Everytime a batch of products is created it get a unique 4 digit code. Due to internal business purposes it cant be more than 4 digits. So what i am looking in vba is 3 fold:
1. How to make first record in this field be 1000 (for label printing software purposes has to start at 1000 and not 0001)
2. how to make the next field autopopulate with 1001, 1002, 1003 etc etc
3. Assuming the more difficult part, how to make it so that when the batch number gets to 9999 it knows that the next record should return to 1000.
If anymore explantation is required, please shout.
Cheers