ACC2000: .MDB File Name Extension Automatically Added to Database NameID: Q207798
|
When you create a new database, Microsoft Access automatically adds the
.mdb file name extension to the database name, even if you type your own
extension in the File name box.
This applies to all dialog boxes in Microsoft Access in which you can specify a
database name, for example, when you create a new database, compact a
database, or create a replica database.
This behavior is exhibited in all programs that use the common dialog box in Microsoft Windows 95 and later or in Microsoft Windows NT version 4.0.
There are two methods that you can use to save a database with a file name extension other than .mdb. You can select a different file type in the Save as type box. Or, you can type quotation marks around the file name.
Q132737: Commonly Asked Windows 95 Questions and Answers
When you save a database file, Microsoft Access compares the name that you type in the File name box with the type of file that you select in the Save as type box. If your file name does not include an extension, or the extension that you type does not match the type of file that you select, Microsoft Access automatically appends an extension for you.
The following table shows examples of how Microsoft Access names a
database file, depending on what you type in the File name box and what you select in the Save as type box:
File Name Box Save As Type Box Database File Name
-----------------------------------------------------------------------
MyDB Microsoft Access Databases MyDB.mdb
MyDB.mdb Microsoft Access Databases MyDB.mdb
MyDB.mdw Workgroup Files MyDB.mdw
MyDB.mde All Files MyDB.mde
"MyDB.mde" Microsoft Access Databases MyDB.mde
For more information about .mdw files, click Microsoft Access Help on the
Help menu, type work with a workgroup information file in the Office Assistant or
the Answer Wizard, and then click Search to view the topic.
For more information about .mde files, click Microsoft Access Help on the
Help menu, type work with mde files in the Office Assistant or
the Answer Wizard, and then click Search to view the topic.
For more information about the common dialog box in Microsoft Windows 95
and later or Microsoft Windows NT version 4.0, please see the following
article in the Microsoft Knowledge Base:
Q125708: Applications Using Common Dialogs Append Default Extension
Q131161: Default File Extension Added to Filename Using Save As
Q133342: File Type Option Changes Filename Within Quotation Marks
Additional query words:
Keywords : kbusage kbdta GnlOthr
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: August 3, 1999