Thank you that is perfect. Is there a way to get counts of a field.
Say I run a query on the company field and i want a layout something like this. Where length is the number of characters and count is the number of records that are that length.
You could do a UNION query with your two queries, though if you want to be able to keep your Company length counts and Title length counts separate, you will need to add an addition field to your queries.
SELECT 'COMPANY' as Type, Len([COMPANY]) AS Length, Count(tblStandardLayout.COMPANY) AS CountOfData
FROM tblStandardLayout
GROUP BY Len([COMPANY])
UNION
SELECT 'Title' as Type, Len([TITLE]) AS Length, Count(tblStandardLayout.TITLE) AS CountOfData
FROM tblStandardLayout
GROUP BY Len([TITLE])
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.