Database.MSAccess.compact() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Database.MSAccess Class Summary

Availability
Windows

Usage
mdm.Database.MSAccess.compact(fileName:String, databaseVersion:String, databasePassword:String):Void

Parameters
fileName:String - Path to database file

databaseVersion:String - Database file version to be compacted

databasePassword:String - Password for the database

Returns
Nothing

Description
Compacts and repairs the specified database. All Database data is kept intact.

Notes
If no Password is required, an empty string should be used (ie. "").

Valid values for the 'databaseVersion' are:

2000
97

Example Code
mdm.Database.MSAccess.compact("C:\\myDatabase.mdb", "2000", "myPassword");

mdm.Database.MSAccess Class Example Downloads
Simple MSAccess Example


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page