size of datatbase in immediate window

e2cheng

Registered User.
Local time
Today, 16:46
Joined
Dec 13, 2002
Messages
72
Hi I'm wondering how i check the size of my database in the immediate window

Thanx in advance,
Eric
 
Perhaps

Code:
Debug.Print FileLen(CurrentDB.Name)

But read the Help file topic on the FileLen function before you trust this number completely. Don't forget that this doesn't take into account whether the file in question has slack space internally because of having not recently been compressed.
 

Users who are viewing this thread

Back
Top Bottom