Enable the macro VBA (Visual Basic Application)
- In a Microsoft Office Access program, click the File tab > Access Options button.
- When the Access Options window is showed. Click Trust Center on the left side.
- Click Trust Center Settings button.
- Click Macro Settings on the left side.
- Check "Enable all macros (not recommended; potentially dangerous code can run).
- Click Ok button twice.
- Open the Microsoft Access database file.
- When the Message Bar is showed. Click Options button.
- Click Enable the content.
- Click OK button.
Running the VBA command
1. Click Ribbon tab "Database Tools".
2. Click Visual Basic.
3. On Microsoft Visual Basic Editor, click View > Immediate Window menu.
4. Type in Immediate Windows:
Print CurrentProject.FileFormat
The result may similar, like some of these following number:
2 = Microsoft Access 2
7 = Microsoft Access 95
8 = Microsoft Access 97
9 = Microsoft Access 2000
10 = Microsoft Access 2003
12 = Microsoft Access 2010, 2007
database management system, dbms
Related Post:
DDL, DQL, DML, DCL and TCL Commands
Tidak ada komentar:
Posting Komentar