Jump to content

Sorting by serial #


puterco

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

Recommended Posts

Filemaker sorts numbers so that 10 comes before 9 etc:

ID: Record:

10 Record C

8 Record A

9 Record B

I quess this isn't a big problem but if I only have <20 records it bothers me in list view those rare times when I sort something by their IDs. Is there a way to easily make FM sort numbers properly? I know that I could manually add a zero before the nine, but I would rather hear a different tip.

Link to comment
Share on other sites

quote:

Originally posted by puterco:

Filemaker sorts numbers so that 10 comes before 9 etc:

ID: Record:

10 Record C

8 Record A

9 Record B

If formatted as Text this is the correct sort order, but if the ID is formatted as a number then it will sort in the expected order. You can also pad the numbers with leading zeros if you want to keep them as text.

For example:

ID: Record:

0008 Record A

0009 Record B

0010 Record C

Link to comment
Share on other sites

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