Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi , I am trying to "find" where a field contains less the the correct number of characters but it appears not to work.

I have a barcode field that should always have 12 digits, but some have less than this and i need to find and isolate them.

 

I thought using the Find mode <12 would work but it apears not, can anyone please advise?

 

FMpro V12.04 MacOSX 10.8.3

 

Many thanks

Posted

You could make a calculation field (type Number) with the formula:

 

Length ( YourBarcodeFieldName )

 

Then execute the above Find on that field.

 

HTH

Posted

Though a calc field would work, and could be a good idea, you can do this with a standard find.

 

Note that the @ character in find mode can be used to represent any single character.

 

In my example, I have phone numbers formatted to use 12 characters:

 

###-###-####

 

Therefore, entering find mode, putting in 12 "@" characters, choosing omit, and performing the find, shows me all records which do NOT have 12 characters in the phone number field.

post-62898-0-37593200-1373221946_thumb.p

post-62898-0-33926000-1373221959_thumb.p

  • Like 1
Posted

Many Thanks Guys!

Both these suggestions worked perfectly  :yep:

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