OK Access2000 Pros! I've managed to figure out how to generate a report in A2K using VB code. BUT what I need NOW is a way to HIDE the Database Window from the users when they're looking at the print preview of the A2K report! I'm trying to use A2K strictly as a reporting tool for the users, NOT as a database they can muck with. So far I've come up with hiding the tables this way:

AccessApp.SetHiddenAttribute acTable, "Tests", True
AccessApp.SetHiddenAttribute acTable, "Users", True
AccessApp.SetHiddenAttribute acTable, "Scores", True etc...

Is there an EASIER way to hide the Database window-or is this it? I'd appreciate any help/advice! TIA!