Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set password only if the user enter with SHIFT + ENTER

Status
Not open for further replies.

adita1983

Technical User
Dec 28, 2004
7
0
0
RO
Hello,

A simple question...How can I set a password to my database only if the user access my application using SHIFT + ENTER ?

Regards,
Adrian
 
You can't. The point of the shift key is that it bypasses al the startup procedures which means that no code is going to run.

It is possible to prevent users from using the shift key by running some code. Look at AllowByPassKey in Help. Be sure you give yourself an option to set it back on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top