franc75
New member
- Local time
- Today, 23:56
- Joined
- Mar 3, 2005
- Messages
- 6
Hi,
I need to add a new field to display a reference which is automatically generated when a new record is added, except the numbering format will need to be:
10001/0 ... 10001/1 ... 10001/2 ... etc ... 10001/9 ... 10002/0 ... and so on.
I will use code to check the last one used and add +1 (+0.1), but I'm not sure what type of data field to use.
Obviously this cannot be an autonumber field, so should I use a 'text' or 'number' data type? If I used a number type, I could set it to 1 decimal place, but is there a way to display the "/" (slash) instead of the decimal point?
Any comments & advice appreciated
I need to add a new field to display a reference which is automatically generated when a new record is added, except the numbering format will need to be:
10001/0 ... 10001/1 ... 10001/2 ... etc ... 10001/9 ... 10002/0 ... and so on.
I will use code to check the last one used and add +1 (+0.1), but I'm not sure what type of data field to use.
Obviously this cannot be an autonumber field, so should I use a 'text' or 'number' data type? If I used a number type, I could set it to 1 decimal place, but is there a way to display the "/" (slash) instead of the decimal point?
Any comments & advice appreciated