Re: autonumber
- From: "Ron Weiner" <rweineratworksritedotcom>
- Date: Tue, 11 Dec 2007 06:37:51 -0500
It re-seeds from the value you supply to the (optional) third parameter
lngNewStartValue. If you do not supply a value it will reseed the column to
so that it starts with 1. You also will need to set a reference to the
Microsoft ADOX library for this code to function.
Ron W
"Bobcat" <Bobcat@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:66B1AE48-B17A-4426-95B9-FBAB31041931@xxxxxxxxxxxxxxxx
Will this reseed the whole table (restart from zero) this is a
TroubleTicket
Database and if a customer call referensing a Ticket# that has been
renumbered it could create problems.
Thx
"Ron Weiner" wrote:
I have some code here http://www.worksrite.com/ReSetAutoNumber.htm that
will
reseed the autonumber seed on your table.
Ron W
"Bobcat" <Bobcat@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8F4EA6CC-ACDA-4408-A964-FDE73FDFDB94@xxxxxxxxxxxxxxxx
I have delete all 8 digit records and then did another compact and
repair
to
no avail.
the database is secured and I am the only one with admin access.
should i try to delete the last 4 digit number? 9402 then compact and
repair?
"AccessVandal via AccessMonster.com" wrote:
Maybe you have a code in an event or you had accidentally inserted a
record
into your table with a 8 digit number. The autonumber will auto
increment
with this new number.
Bobcat wrote:
why would the autonumber all of a suden change from a 4 digit number
to
an 8
digit number?
example;
9400
9401
9402
34286622
34296623
Etc
I have used "Compact and Repair Database" to no avail.
--
Please Rate the posting if helps you
Message posted via http://www.accessmonster.com
.
- Follow-Ups:
- Re: autonumber
- From: Bobcat
- Re: autonumber
- References:
- Re: autonumber
- From: AccessVandal via AccessMonster.com
- Re: autonumber
- From: Ron Weiner
- Re: autonumber
- From: Bobcat
- Re: autonumber
- Prev by Date: go to record
- Next by Date: Re: Text box to enter time duration h:nn:ss
- Previous by thread: Re: autonumber
- Next by thread: Re: autonumber
- Index(es):
Relevant Pages
|