Counting characters (1 Viewer)

anthonyphillips

Registered User.
Local time
Today, 12:55
Joined
Nov 7, 2007
Messages
50
Hi All

I need to create a qry that counts the chars in memo fields as if below 255 i can change it to a text field.

Thanks

Ant
 

anthonyphillips

Registered User.
Local time
Today, 12:55
Joined
Nov 7, 2007
Messages
50
Try Len(memofield)

Yeah i read that, but where do i put it within the qry window, or do i have to code??

Sorry i'm not very good with access.

Ant
 

boblarson

Smeghead
Local time
Today, 04:55
Joined
Jan 12, 2001
Messages
32,059
You will need to find the longest string in ALL of your records, in the field, so this should do it (replace the table and field names with your own):

Code:
SELECT Max(Len([FieldNameHere])) AS FieldLength
FROM TableNameHere;
 

Users who are viewing this thread

Top Bottom