[AccessD] Get Database Size in Code?

Mark A Matte markamatte at hotmail.com
Thu May 31 09:21:48 CDT 2007


Dan,

How about something like:

Dim dsize As Long
dsize = FileLen(CurrentDb().Name) / 1000

Thanks,

Mark A. Matte


>From: "Dan Waters" <dwaters at usinternet.com>
>Reply-To: Access Developers discussion and problem 
>solving<accessd at databaseadvisors.com>
>To: "'Access Developers discussion and problem 
>solving'"<accessd at databaseadvisors.com>
>Subject: [AccessD] Get Database Size in Code?
>Date: Wed, 30 May 2007 20:56:30 -0500
>
>Is there code whereby an Access db can determine what its own size is?
>
>Thanks!
>Dan
>
>
>
>--
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com

_________________________________________________________________
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507




More information about the AccessD mailing list