Skip 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.

Sort Container Field

Featured Replies

Hello People!

I was wondering if this is possible with some script or perhaps I am missing a conecpt. Here is the scenario:

Some Table Layout:

Field 1- Container = Image(not reference)

Field 2 - Text/number = RecordID

is there a way to sort asc. or desc. based on existance of image in the field?

eg.

IF filed Image =""

THEN

list it on the bottom of this "sorted list".

Basically I would like to have those records without image to be listed on bottom of my Table View.

Sorry but I have not used much of ScriptMaker and I do not know if this is ever possilble.

Thank you guys for all the help!

Hi,

If this is going to be a static solution, you won't need any script for that. Just sort the relationship on the calculation Case(not Is Empty(Container),1,0).

The records with 0 (no image would drop at bottom of your relationship).

If you want to move around related records, up, down, custom sortin, just have a look at DJ's Renumbering Portal in the Sample Section.

  • Author

Thank you Ugo!

I do not have any relationships here...two fields....that's it.

Any tips?

Thank you Ugo...and anyones else that has more brain than I do!

With or without a relationship, the sort on the calculation field given above would have the same result.

Now if you really need a script, why not omit records where the Calculation returned 0 ?

  • Author

umm..there is this little factor - I know >=0 about scripting...so hints just confuse me smile.gif

would you mind explaining it step by step?

which caluculation field?

do I need to make another field just so I can sort? frown.gif

thanx again

laugh.gif

Yes...

A calculation field c_checkEmptyContainers = Case(Is Empty(Container field), 1, 0).

Then, use this field for your sort.

  • Author

nice It workes and I do remember hwo I did it laugh.gif

Thanx Ugo!

This "field creation" confused me...coming from SQL based apps. Thank you again!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.