filtering query results

J

J-LL

Hello.
I'm querying a table that has a field containing data entries that have
varying character lenghts. Is it possible to filter the data having only two
characters long using Microsoft Query?
Thanks.
 
J

Jeff Boyce

One approach might be to add a new field that is something like:

NewField: Len([YourField])

and add the criterion beneath it as:

2

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
J

J-LL

Thanks Jeff,
I believe that will work in an Access query, but I can't see how it'll work
with the lower-featured Microsoft Query: something tells me it can't be done.
I originally posted this question in an Excel group but nobody replied, so I
thought I'd try it here. Sorry if I misled you.

Jeff Boyce said:
One approach might be to add a new field that is something like:

NewField: Len([YourField])

and add the criterion beneath it as:

2

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP


J-LL said:
Hello.
I'm querying a table that has a field containing data entries that have
varying character lenghts. Is it possible to filter the data having only
two
characters long using Microsoft Query?
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top