Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2007

Tip: Looking for answers? Try searching our database.

Can't get form to hide

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JimS - 27 Mar 2007 23:58 GMT
I have a form "Authorizaton", which happens to be the autoexec form on my
database that authenticates the user silently (checks the windows login name
against a user table), then logs the user's entry in a log table. I want it
to stay loaded, but invisible for the user's entire session. I can't seem to
make it invisible. I tried to set the .visible property to false at design
time, but it's not apparently availble at design time. I did set the .visible
property to false in the "load" event event, though it didn't work in the
"open" event, either.)

e.g:

Private Sub Form_Load()
    Me.visible=false
    [authenticate the user and log his/her entry using
docmd.gotorec,,acNewRec]
    DoCmd.openform "switchboard"
end sub

private sub form_unload()
    me.visible=false
    [record user's logout event the same way]
end sub

I can't figure it out!
Signature

Jim

ruralguy - 28 Mar 2007 00:23 GMT
Can you load it with the AutoExec macro as hidden?

>I have a form "Authorizaton", which happens to be the autoexec form on my
>database that authenticates the user silently (checks the windows login name
[quoted text clipped - 20 lines]
>
>I can't figure it out!

Signature

HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.