RichO
Registered Yoozer
- Local time
- Today, 11:06
- Joined
- Jan 14, 2004
- Messages
- 1,036
I want to set up an event procedure that checks for the validity of an entry, and if it is an illegal entry, display a MsgBox, clear the entry and go back.
The only problem is getting the focus to go back to the previous text box.
The form is named "CDTimer" and the text box name is "Length".
I have tried:
Forms ([CDTimer]).Controls([Length]).SetFocus
but I get an error 'can't find the field "|" in your expression'
What am I missing?
Thanks
The only problem is getting the focus to go back to the previous text box.
The form is named "CDTimer" and the text box name is "Length".
I have tried:
Forms ([CDTimer]).Controls([Length]).SetFocus
but I get an error 'can't find the field "|" in your expression'
What am I missing?
Thanks