Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Since Bento iis no longer updated, I started my db for my students over with FM Go. Please consider three tables :students:, :subjects:, :aplications:

During time, students have several aplications on various subjects, ok?

In each application, students updates their address, email and... photo

In students main layout I have successfully created a portal with sorted aplications over time. I also have a beautifil big portrait near the name and wish that portrait to display the photo of the most recent aplication available for that student.

So :students::portrait is a container with calculated value GetNthRecord (:aplications::aplications_photo;0)

I unchecked Auto-Enter/ do not replace existing value of field

I also tried to set field as Looked-up value with "copy next higher value".

No photo displais so far. Need help.

Posted
So :students::portrait is a container with calculated value GetNthRecord (:aplications::aplications_photo;0)

 

First, the field should be a Calculation field with the result type set to Container.

 

Next, the value of 0 makes no sense as the recordNumber parameter in the GetNthRecord() function: there is no zeroth record - the count of  records starts at 1.

 

Assuming applications are entered chronologically and that the relationship is not sorted otherwise, you'd use the Last() function to get the most recent value.

 

 

---

P.S. Why do your table names begin with a colon; are you out to confuse yourself or others?

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