98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Access Training and help » microsoft+access+training - Password protection for Sub Forms
microsoft+access+training - Password protection for Sub Forms
Resolved · Low Priority · Version Standard
Brian has attended:
Access Advanced course
Access VBA course
Password protection for Sub Forms
Hi
Is there a way I can generate some kind of password protection to a specific sub-form within a form?
I feel I ought to be able to create some code within the properties of the sub-form which when it is diplayed (it is within a tab on the main form) it asks for some input to an input box to which I can set a value which must be met, otherwise access is prevented.
I'd appreciate some advice on this please
Thanks
Brian Clark
Jobcentre Plus
RE: Password protection for Sub Forms
Hi Brian
The answer to your question is it can be done using Visual Basic, however I am not sure whether it can be done using VBA, basically you will have to create a permissions table, then the form you are talking about loads it will check who is logged in and what permissions they have, then will only display the data that they have permission for. My initial reaction is that this is too much for VBA to handle and would need to be done using visual basic.
I will check this out and if I find it can be done using VBA I will get back to you. I hope this answers your Microsoft Access VBA question.
David
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Access tip:Choosing data types in AccessNot sure which data type to use for your Access fields? Here are some guidelines to help you choose a data type to assign to a field. |