rhyslewisdavies
New member
- Local time
- Today, 08:16
- Joined
- Mar 11, 2015
- Messages
- 6
Hi all, I have a command button that when pressed needs to check the value in a field and then make a text box visible if the field has an appropriate value.
here is the code - the VBA editor doesn't throw any errors when I click the button but the text box doesn't display. if i misspell the field value in VBA then it does thrown an error so the code should work and its very simple.
If Me.weekcommencing.Value = "monday" Then Me.sixteenth.Visible = True
Any ideas!?
Thanks
Rhys.
here is the code - the VBA editor doesn't throw any errors when I click the button but the text box doesn't display. if i misspell the field value in VBA then it does thrown an error so the code should work and its very simple.
If Me.weekcommencing.Value = "monday" Then Me.sixteenth.Visible = True
Any ideas!?
Thanks
Rhys.