Hi
You may also creat a blank database and import everything, dont forget to choose the advanced properties and select all inport and other stuff.
Hope this helps
I also have better ways to hide the tables
Simple : create an autorxec macro, use it to open the main form in dialodg mode. this will hide the database window and disable the F11 key.
Advanced have a look at this code and you will see by adding a simple password form to open a securtity form. you will be able to have two buttong that either open the database or secue the database. see the following code that would go in the ONCLICK porperty.
Private Sub Command5_Click()
ChangeProperty "StartupForm", dbText, "MainMenu"
ChangeProperty "StartupShowDBWindow", dbBoolean, True
ChangeProperty "StartupShowStatusBar", dbBoolean, True
ChangeProperty "AllowBuiltinToolbars", dbBoolean, True
ChangeProperty "AllowFullMenus", dbBoolean, True
ChangeProperty "AllowBreakIntoCode", dbBoolean, True
ChangeProperty "AllowSpecialKeys", dbBoolean, True
ChangeProperty "AllowBypassKey", dbBoolean, True
ChangeProperty "AllowShortcutMenus", dbBoolean, True
DoCmd.SetWarnings False
DoCmd.RunSQL "UPDATE Security SET Security.Status = 'OFF'"
DoCmd.SetWarnings True
MsgBox "You must now EXIT and RE-OPEN the database !!", vbExclamation
DoCmd.Quit
End Sub
Private Sub Command1_Click()
ChangeProperty "StartupForm", dbText, "MainMenu"
ChangeProperty "StartupShowDBWindow", dbBoolean, False
ChangeProperty "StartupShowStatusBar", dbBoolean, False
ChangeProperty "AllowBuiltinToolbars", dbBoolean, False
ChangeProperty "AllowFullMenus", dbBoolean, False
ChangeProperty "AllowBreakIntoCode", dbBoolean, False
ChangeProperty "AllowSpecialKeys", dbBoolean, False
ChangeProperty "AllowBypassKey", dbBoolean, False
ChangeProperty "AllowShortcutMenus", dbBoolean, False
DoCmd.SetWarnings False
DoCmd.RunSQL "UPDATE Security SET Security.Status = 'ON'"
DoCmd.SetWarnings True
MsgBox "You must now EXIT and RE-OPEN the database !!", vbExclamation
DoCmd.Quit
End Sub