>Hello
>Im trying to create a password field for an application. I already set
>the max size to ten in the database. but im wondering how should i go about setting
>the min size of that field since there isnt a minimum property.
>Is there anyway i can count the 'items' in the ".value" of the text box then create a statement that throws an error when the count of the "items" in the textbox field is less than 8?
>or is there any other way to go about doing this?
Sure you should check the LEN() of the value
IF LEN(this.Value) < 8
MessageBox("The password can not be less than 8 chars)
RETURN .f.
ENDIF
RETURN .t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.