Limiting access to a command button

  • Thread starter Thread starter del
  • Start date Start date
D

del

Hi all,

Is it possible to limit access to a comand button based on the current
user's ID.

I was thinking that I might be able to create a table of permitted users and
'somehow' perhaps via an API call? either grant or deny access to a command
button on a form.

Could anyone point me in the right direction please....TIA
 
I've done this just by checking the ID in the form's Load event and
enabling/disabling the command button.
There's no API called if you're using Access security; if you need to
collect the network ID, use fosUserName() from www.mvps.org\access\apis.

HTH
- Turtle
 
Back
Top