Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

How To Search for Number of Characters In A Field


This topic is 7431 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I imported data into a FileMaker Pro 7 database. I want to search a particular field and find all the records with more than 10 characters, including spaces, in it. How do I use the Length(field) function to search in that field?

Posted

I don't think this has change in v7.

In the older version you could use the Length in a calculation like

Length(Text Field) <= 10 which will return a 1 if true and 0 if false.

HTH

Lee

  • Newbies
Posted

so I can't get a found set of records that have more than 10 characters in a particular field?

I have thousands of records that need to be cleaned up and then imported into a new system. The new system has restrictions of how many characters can be used in a field. The old system did not. I have to capture the records that have more than so many characters in a particular field and shorten them or handle them differently.

Posted

Yes you can, just do a find in the calculation field for 1 or 0 to find the records you are wanting to work on.

Lee BigThumbUp.gif

  • Newbies
Posted

So what I do is create a calculation field with Length(field) and do my find on that field instead?

Posted

A calculation of Length(Text Field) > 9 should do it, then search for 1 on it.

You could do multiple find requests like @@@@@@@@@@, @@@@@@@@@@@, @@@@@@@@@@@@, but that would quickly become annoying.

Posted

Uh, yeah that was your original questions wasn't it? How to use the Length(field) to isolate those fields that have more than 10 characters.

This is how I would set this up.

Two new field, g_Num and c_Length (if you have one or both of these set up, just subsitute your field names for mine.

g_Num

This topic is 7431 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.