>hi,
>maybe as
>
>cString=thisform.text1.value
>thisform.text2.value=LEN( STRTRAN( cString," ","" ) )
>
Or just
ThisForm.Text2.Value = LEN(STRTRAN(ThisForm.Text1.Value," "))
>
>>>thanks it is helpfull,
>>>but if count from form
>>>
>>>uio=thisform.cstring.value
>>
>>I don't understand your question. Just replace cString with whatever string text you want to count chars in.