Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

A quick question:

When I sort a field with values like 1.1, 1.2, ..., 1.10, 1.11, FileMaker returnes 1.1, 1.10, 1.11, 1.2 etc, Is there a way to do the regular search which will return the values like 1.1, 1.2, 1.3,... 1.10, 1.11?

Thanks for youe help!

Sounds like you are storing your data in a text field. If you want the data to be sorted as numbers rather than text, change the field type in Define Fields to Number.

  • Author
  • Newbies

Thanks for your help. But it doesn't work. No, it was a general number field. The problem is it doesn't work after decimial.

It does work - as a number (1.10 = 1.1 < 1.2 ).

What you want is text sort, so change the field to type Text.

  • Author
  • Newbies

Thanks for your help. However, it doesn't work neither as a text nor as a number. If I use as a number, it sorts OK except the part after the decimal i.e. 1.1, ..1.10, 1.2. However, if I use as a text, it doesn't work at all. It comes like this: 1.1, 1.2, 12.5, 2.1, 1.11 etc.

Thanks.

I see. I don't think it's possible to do the sort you want with what you have. Either split your data into two fields, e.g. Chapter and SubChapter, or use true decimal fractions to indicate the sub-chapter, i.e. 1.01, 1.02 ... 1.11, etc.

Hi

make a calculation field, result TEXT, with calc:

[color:blue]

Case(

PatternCount ( yourField ; "." );Right ( "0000000000" & Middle ( yourField ; 1 ; Position ( yourField ; "." ; 1 ; 1 ) -1 ) ; 10 ) & "." & Right ( "0000000000" & Middle ( yourField ; Position ( yourField ; "." ; 1 ; 1 ) + 1 ;Length ( yourField )) ; 10 );

Right ( "0000000000" & yourField ; 10 ) & ".0000000000"

)

and sort by this new field.

( this will be good for text till 9999999999.9999999999 )

  • 1 month later...

Here's a "pseudo custom function" that will deal with up to 4 levels of legal numbering, i.e.:

1

1.1

1.1.1

1.1.1.1

Topics and subtopics can go up to 999,999,999.

Let ( [

text =Substitute ( Topic ; "." ; " " ) ;

string = "000000000"

] ;

Right ( string & MiddleWords ( text ; 1 ; 1 ) ; 9 ) & " " &

Right ( string & MiddleWords ( text ; 2 ; 1 ) ; 9 ) & " " &

Right ( string & MiddleWords ( text ; 3 ; 1 ) ; 9 ) & " " &

Right ( string & MiddleWords ( text ; 4 ; 1 ) ; 9 )

)

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.