A
Anatoly Kurilin
Hi, I have two similar subforms connected to two different tables. Each
subform has a textbox control. I have to check its contents in the event
BeforeUpdate. So, when a NEW RECORD is created, the first subform behaves
quite normal: after the message, I run command Cancel = True and if the user
presses Escape button, the textbox gets empty. But the second subform
behaves in a bit different way: when the user presses Escape button, the
whole content of that textbox just gets marked, giving the way to move to
the next control by pressing Tab and passing the checkup. What's wrong with
the second subform? Actually they are twins...
Thanks in advance,
AK
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5113 (20100513) __________
The message was checked by ESET NOD32 Antivirus.
http://www.esetnod32.ru/.ml
subform has a textbox control. I have to check its contents in the event
BeforeUpdate. So, when a NEW RECORD is created, the first subform behaves
quite normal: after the message, I run command Cancel = True and if the user
presses Escape button, the textbox gets empty. But the second subform
behaves in a bit different way: when the user presses Escape button, the
whole content of that textbox just gets marked, giving the way to move to
the next control by pressing Tab and passing the checkup. What's wrong with
the second subform? Actually they are twins...
Thanks in advance,
AK
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5113 (20100513) __________
The message was checked by ESET NOD32 Antivirus.
http://www.esetnod32.ru/.ml