B
Ben
Sure you COULD get Access to do this using a form and
some code, but the real question is why?
Autonumber/identity fields are there to provide a way to
ensure unique keys, they aren't supposed to mean
anything, and no one is really supposed to see them, nor
sort on them, they're helpful 'behind the scenes'.
If you really want to, you'd have to change the field
from autonumber to a single,double,currency or decimal
datatype and use code in a form to figure out what the
value is for the preceding and succeeding fields - what
happens when you get one that falls 194 and 194.1? Your
stuck with 194.11, if it happens again you've got 194.111
ad nauseum. If you are just doing this to keep them
sorted, your better off using a query to sort them based
on title, then it doesn't matter where/when they are put
in the data table, you still see them in alphabetical
order.
HTH,
Ben
some code, but the real question is why?
Autonumber/identity fields are there to provide a way to
ensure unique keys, they aren't supposed to mean
anything, and no one is really supposed to see them, nor
sort on them, they're helpful 'behind the scenes'.
If you really want to, you'd have to change the field
from autonumber to a single,double,currency or decimal
datatype and use code in a form to figure out what the
value is for the preceding and succeeding fields - what
happens when you get one that falls 194 and 194.1? Your
stuck with 194.11, if it happens again you've got 194.111
ad nauseum. If you are just doing this to keep them
sorted, your better off using a query to sort them based
on title, then it doesn't matter where/when they are put
in the data table, you still see them in alphabetical
order.
HTH,
Ben