auto number

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

nagarajachari

Thread Starter
Joined
Dec 30, 2010
Messages
1
I am using 2003 access

i need help
to generate auto number in mdb file after deleting records

exmple : my database has 5 record like slno= 1,2,3,4,5,
if i delete record 3, then it will continued next no is 6. the data base has only 4 records

how can i set the auto number through visual basic 6.0
thanks in advance
 
Joined
Jun 26, 2010
Messages
444
The AutoNumber property should be defined when the table structure is created in Access. Generally, this will be done with Access's table design tools and you shouldn't need to do this with VB6. Access will then handle incrementing the number for you.
 

OBP

Joined
Mar 8, 2005
Messages
19,895
nagarajachari, welcome to the forum.
Can I ask why you think you need to chnage the Numbering when a Record is deleted?
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top