Not allow " " (space) in a field

C

chris

You can ignore spaces in a textbox by including this code
in the keypress event

if keyascii = 32 then keyascii = 0


-----Original Message-----
Hi,

i have a table with a text field where i want to restrict
the user from entering value through pressing the space
bar (" "). Is there any way to fix this through a data
input mask or code??
 
Top