speakers_86
Registered User.
- Local time
- Today, 12:57
- Joined
- May 17, 2007
- Messages
- 1,919
Alright, I'm almost done for a while, but a few parting questions. I'm working on a project with particular rules about the primary keys. Of course, I'm using autonumbers, but the end user doesnt need to know that! There are two parts to the custom numbering. A series and a suffix. It will look something like 01-001. I've been treating each part as text, I don't know why, it just sounded right. But now I'm to the part where I need access to generate numbers itself. So how can I get the series to be in the format of XX and the prefix to stay like XXX? Also, how do I make a new value be max+1? I believe I've seen people here put a formula in the tables for default value, something like max()+1. I played with that a little, but I'm calling it quits for the night. Oh, and I'm sure I'll need to change it to number format too.
I've never tried making custom numbering fields like this, I've never really had a need. So thanks for any help.
I've never tried making custom numbering fields like this, I've never really had a need. So thanks for any help.