Stemdriller
Registered User.
- Local time
- Today, 16:18
- Joined
- May 29, 2008
- Messages
- 187
Hi All
Is there a quicker way to do the following
A form has 20 Text Boxes on, all enabled. But if a certain user logs in I want to disable 10.
The way I would currently program is something like, the On Current of the form to say something like
If User = "John Smith" then txt1.enabled = False
Or something like that but I would have to do it 20 times and there are a few other forms like this.
I'm thinking using 'Case'
Any suggestions?
Thanks
Gareth
Is there a quicker way to do the following
A form has 20 Text Boxes on, all enabled. But if a certain user logs in I want to disable 10.
The way I would currently program is something like, the On Current of the form to say something like
If User = "John Smith" then txt1.enabled = False
Or something like that but I would have to do it 20 times and there are a few other forms like this.
I'm thinking using 'Case'
Any suggestions?
Thanks
Gareth