|
Forum 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
The UK's most regular instructor-led training courses.
Training information: microsoft+access+training
· Access training
· Microsoft Access Training See also
· microsoft access training
· access vba courses
· access database course Resolved · Low Priority · Version Standard
Password protection for Sub Forms
by - delegate Brian [3 posts] (2007 Mar 14 Wed, 14:46) Reply
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
|