Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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!

Posted

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.

Posted

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!

Posted

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 ?

Posted

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

Posted

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!

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