If Statement

Yecats131

Registered User.
Local time
Today, 12:33
Joined
Apr 22, 2008
Messages
63
Hello,

I need to write an if statement to base its action on if the character length is > 0 . I cannot figure out how to do this, as the length property doesn't seem to exsist.

Any ideas?

Thanks!
 
There is a Len() function that will return the length of a string. To test length and Null:

If Len(Me.ControlName & vbNullString) > 0 Then
 
Oh sweet! That worked. Thanks :0)

I'm totally teaching myself as I go, if you can't tell. :0)
 

Users who are viewing this thread

Back
Top Bottom