J
JimS
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!
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!