|
|
#1 |
|
Lieutenant Junior Grade
![]() |
Sorry to bother you all again, but you've been so helpful i just had one mroe question. Does anyone know the command to count the numberof characters in a field? I want my query to display only entries with 35+ characters. i tried looking into count.. but that only seems to count the number of fields, not characters within the field
Thanks Again, Webhead211 "I run faster than the speed of light" |
|
|
|
|
|
#2 |
|
Commander
![]() ![]() ![]() ![]() ![]() |
pssst... what language are we speaking in, here?
![]()
__________________
blurt blurt blurt |
|
|
|
|
|
#3 |
|
Lieutenant Junior Grade
![]() |
Um.. i'm using microsoft access 2000.. so whatever language the query box uses. an example of code i've used before it is the Immediate if statement =IIf(IsNull[field], 1,2]) hope that helps.
Webhead211 "I've got a fever.. and the only prescription for it... is more cow bell!" |
|
|
|
|
|
#4 |
|
Commander
![]() ![]() ![]() ![]() ![]() |
SELECT *
FROM table WHERE len(FieldToBeCounted) > 35 that oughta do it. i never use access's query builder cause it's just too cumbersome for me to figure out, so i don't know what this looks like in that. |
|
|
|
|
|
#5 |
|
Lieutenant Junior Grade
![]() |
I'm a moron. D'oh... length. sigh... thanks a million. Thats exactly what i needed.
Webhead211 "Beware of the Penguins" |
|
|
|