>I want to enter only text in text boxes . how to do this?
You can use the textbox .InputMask and .Format properties, optionally .MaxLength as well. Check out VFP help for those items.
For example, if you want a maximum length of 10, and characters only, you could do:
WITH MyTextBox
.MaxLength = 10
.Format = "AAAAAAAAAA"
ENDWITH
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up