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

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

Recommended Posts

Posted

I have a DB that has, let's say, 10 records. I would like to create a portal in that same file that lists a particular field of each of those records within that file, so that I can have a clickable list. While viewing record 3, I can see the list,click and be taken to record 8, etc.

I have tried creating a self relationship on a global file to no avail. Is this possible?

Thanks

Posted

Yes it is possible and quite easy. Create a field:

One (calculation, number, indexed) = 1

Create a relationship with the same file matching One <--->One. Place a portal on your layout using this relationship and fields from this relationship.

Define a script with one step:

Go to Related Record () <--- Select your new self relationship.

Attach this script to a button within a row of your portal.

That's it. Clicking on the button will take you to the record clicked on.

-bd

Posted

It is a valid relationship that matches all the records in a file. We used to use it to connect two files for use in passing global fields. We now learn that an invalid relationship is better for that task as it doesn't pull down a list of records from FM Server to FM Client, as there are not matches. It still allows access of globals from the related file.

-bd

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