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

sorting a merge field


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

Recommended Posts

  • Newbies
Posted (edited)

hey im sure theres a simple answer

but i cant seem to figure it out

i have a relationship from one table to another

project->role via projectID

rolename is a field in role

there can be many roles for a project

currently

im trying to print out only the most current role added to the db

and im using a merge field to do it

so now my layout looks like this

"current project role is <>"

heres the problem

its still printing the first role i ever added to the project

so where i would like to see:

"current project role is role9"

im seeing

"current project role is role1"

ive set up the relationship with a descend sort by role::creationdate

can anyone give me insight to this?

thanks

TOY

Edited by Guest
  • Newbies
Posted

im sorry i dont get what youre trying to tell me

could you pls rephrase that?

thanks

Posted

Relationships pick up the first item that it finds, this isusually the oldest entry. You could change thos by specifying a relationship sort order to be (say) created date descending.

Alternatively create a calculation field that uses the Last() function. It will return the last related value.

  • Newbies
Posted

hey thanks

im a moron - i knew it was something stupid

i had the relationship setup wrong (wrong keys) - duh!!

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