El_Pablo Posted December 8, 2006 Posted December 8, 2006 Hi, I have a portal with a button in it. How do I get the field value of a related record? Is there a function that can do something such as this: $fieldValue = GetFieldValueInPortal(rowX, fieldY) BTW, in my problem the related table is in another file, so I think the GTRR function is not usefull in this case. Thank you
mr_vodka Posted December 8, 2006 Posted December 8, 2006 To access the value of a field that shares the same relationship as the portal does. Just reference that field. portal_relationship::field_you_want When the button for each portal row is pressed, it will give you the value of that record. But if you were looking to get a vlues from a different record then you have to use GetNthRecord
El_Pablo Posted December 8, 2006 Author Posted December 8, 2006 Hmmm... Weird I tried this before posting and I was getting an empty value and I retried after your post and now it works! Thank!! :laugh:
Recommended Posts
This topic is 6560 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 accountSign in
Already have an account? Sign in here.
Sign In Now