Jump to content

Finding number of characters in field


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

Recommended Posts

  • Newbies

Hello all. I'm a complete newbie to Filemaker so this question may be a stupid one. I could not find the answer in the Filemaker Help, so I'm asking here. I need to find all records that exceed a specific amount of characters. For instance, I would like to find all records that have more than 15 characters in the "name" field. Is this possible? If so, how do I go about doing this find? Thanks in advance for the help.

Link to comment
Share on other sites

Hi, welcome to FM Forums! :wink2:

Create a calculation (number) with:

Length ( nameField ) > 15

Perform a Find on this calculation for a 1. This calc produces a boolean result 1 for yes and 0 for no.

Your script step would be:

Perform Find [ ] ... Find Request criteria would be, select field and just type: 1 ... and ADD.

LaRetta

Edited by Guest
Added pseudo script-step
Link to comment
Share on other sites

This topic is 6436 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.