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

Question about Repeating Objects on a Portal


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

Recommended Posts

Posted

Hello everybody,

I have a situation where I have created a layout that would act as a dialog box to select values from. My plan is to have a portal that would display Attendance records. When a new record is created, to get the value of what type of Absence this is, the small layout would appear next to the object in the portal that the script is linked to.

I have the object named and am using GetLayoutObjectAttributes to get the exact pixel location of where the box should appear, right next to the object. This works, but only on the first portal, because that would be the first named object.

My question is how would I distinguish what object it is. If i am in the second or third portal, is there a way to specify in the Get function what object I want?

Posted

As opposed to the Help, if you double click the GetLayoutObjectAttribute function to insert it in your calculation, you will see there is an optional parameter to define which portal row you're refering to.

Posted (edited)

Are you referring to the repetition parameter? Does this not only refer to Field Repetitions? I tried that & nothing different happens, from the second portal the window opens in the top right corner (but from the first portal, it opens right next to the object).

I guess this will only work from the first portal since that is the one that contains the first occurrence of the named object. And since the function only refers to field repetitions, and not object repetitions, this won't work?

Edited by Guest
  • 3 weeks later...
Posted

Isn't this a flawed understanding of tunneling of values via relations- here?? Why are the two portals unrelated so you need to 1 know the position in the first portal and then jump to the similar in the other.

http://www.filemakermagazine.com/secured/541/GraphRules_full.mov

I've just had a similar request from a fellow developer, not quite knowing why he have landed there, alright he had some wishes to utilize the seapration modes to send individual tables to differnt people for updates.

Similar might you view on data be a tad too rigid:

http://www.filemakermagazine.com/videos/data-tagging-classification-vs-organization.html

Not that I think my stuff is rocket science, but I would deal with the attendance problems this way:

http://www.fmforums.com/forum/attachment.php?attid/9381/

--sd

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