Results 1 to 2 of 2

Thread: How Can I use VB to Hide the A2K DatabaseWindow from Users?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Austin,TX,USA
    Posts
    98
    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!

  2. #2
    Lively Member dlm's Avatar
    Join Date
    Oct 2000
    Location
    Geraardsbergen(Belgium)
    Posts
    91
    Hi

    just use the .visible propertie

    Code:
    AccessApp.visible = false
    If you can solve the problem, why worrying about it…
    If you can’t solve the problem, worrying won’t help…

    De la Motte Günther

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width