Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count Characters in a field 1

Status
Not open for further replies.

dawnd3

Instructor
Jul 1, 2001
1,153
US
hi All, I need to write a query that counts the characters in a field. Really I need to be able to say what I need it to do if there is just one character. So, IIF([FieldName]=1 character, then...and so on.

Thanks for any help,

Dawn

 



hi
Code:
 IIF(len([FieldName]0=1,......


Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
dawnd3 . . .

There's a typo in [blue]SkipVought's[/blue] code:
Code:
[blue]IIF(len([FieldName][COLOR=red yellow])[/color]=1, ......[/blue]

See Ya! . . . . . .

Be sure to see faq219-2884 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Yep, I caught that Ace and was going to comment when I said thanks to Skip. It worked perfect for what I needed. Thanks guys!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top