Two events for one button

V

Veli Izzet

Hi all,

I have a button on a Switchboard that opens Form1 (on click). Can I
modify the code so that when ý let's say use shift-click, or ctrl-klick,
the button opens Form2?

Thanks for answers.
 
S

SAm

probably your best bet is to learn how to write an if statement, and have do
one out of the two things when the user clicks.

if you explain your form then you would be able to get help on the if
statement.

sam
 
V

Veli Izzet

I have two forms, one with cost detail and the other without.

I would like anybody to open the form without, and leave the other to
some admins.

I want this to be undocumented, so doubleclick is out of the question.
 
G

Gijs van Swaaij

I'd still suggest that you make a separate button for the admins to
use. Then you might ask for a password. To protect sensitive data the
way you described looks a little risky to me.
 
V

Veli Izzet

It seems I have to learn abt user level security of access.

Being an IT security consultant, I do not very much rely on user level
securities of applications, but anyhow this is not a very important
application.:)
 
Top