Connecting Tech Pros Worldwide Help | Site Map

How to compact the database in VBA?

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 12:41 PM
swingingming
Guest
 
Posts: n/a
Default How to compact the database in VBA?

I read in some of the messages that 'autonumber' will reuse the deleted
number after compacted. How can we do it in code?
Thanks. ming


  #2  
Old November 13th, 2005, 12:41 PM
pietlinden@hotmail.com
Guest
 
Posts: n/a
Default Re: How to compact the database in VBA?

No, it only picks up at the last number. And if you're looking for
autonumbers not to have gaps, you'll have to roll that yourself. That
question has been asked millions of times. The standard response is
that an autonumber field guarantees *uniqueness*, nothing more.
Besides, it's a meaningless number - just a way of relating records in
one table to records in another.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.