In the VALID event of the control you could build a routine that processes each character in THIS.VALUE and determines if it is in the set of allowable characters.
lReturnValue = .t.
for j = 1 to len(this.value)
ch = substr(this.value,j,1)
if not upper(ch) $ "ABCDEFGHIJKLMNOPQRSTUVWXYZ "
lReturnValue = .f.
exit
endif
endfor
return lReturnValue
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.