Hello I am new to vba programming/coding. I am writing a program that
goes through a directory of text files and imports them into the
database. The problem is eventually the database gets to big and
needs to be compacted. I know how to compact on exit but how do you
do it in a loop using vba? My old program in basic did it because it
was external to access. Any ideas?
1.import text file
2.loop - check size
2a. compact database if need and continue importing text files.
2b. continue importing text file
goes through a directory of text files and imports them into the
database. The problem is eventually the database gets to big and
needs to be compacted. I know how to compact on exit but how do you
do it in a loop using vba? My old program in basic did it because it
was external to access. Any ideas?
1.import text file
2.loop - check size
2a. compact database if need and continue importing text files.
2b. continue importing text file
Comment