Limiting access to a command button



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\access\apis.

- Turtle

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads