[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Software, OS, and the Internet
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-12-2001, 07:30 AM   #1
Webhead211
Lieutenant Junior Grade
 
Webhead211's Avatar
 
Join Date: Mar 2001
Location: Mass
Posts: 54
Send a message via AIM to Webhead211
Unhappy

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"
Webhead211 is offline   Reply With Quote
Old 07-12-2001, 08:51 AM   #2
ironchef
Commander
 
ironchef's Avatar
 
Join Date: Dec 2000
Location: SF Bay Area
Posts: 1,342
Send a message via ICQ to ironchef Send a message via AIM to ironchef Send a message via MSN to ironchef Send a message via Yahoo to ironchef
pssst... what language are we speaking in, here?
__________________
blurt blurt blurt
ironchef is offline   Reply With Quote
Old 07-12-2001, 09:22 AM   #3
Webhead211
Lieutenant Junior Grade
 
Webhead211's Avatar
 
Join Date: Mar 2001
Location: Mass
Posts: 54
Send a message via AIM to Webhead211
Question Language..

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!"
Webhead211 is offline   Reply With Quote
Old 07-12-2001, 09:42 AM   #4
ironchef
Commander
 
ironchef's Avatar
 
Join Date: Dec 2000
Location: SF Bay Area
Posts: 1,342
Send a message via ICQ to ironchef Send a message via AIM to ironchef Send a message via MSN to ironchef Send a message via Yahoo to ironchef
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.
ironchef is offline   Reply With Quote
Old 07-12-2001, 09:59 AM   #5
Webhead211
Lieutenant Junior Grade
 
Webhead211's Avatar
 
Join Date: Mar 2001
Location: Mass
Posts: 54
Send a message via AIM to Webhead211
Cool Thanks!

I'm a moron. D'oh... length. sigh... thanks a million. Thats exactly what i needed.

Webhead211
"Beware of the Penguins"
Webhead211 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 01:30 PM.