![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
On Thu, 1 Dec 2011 10:28:33 +0100, Zarulja wrote: What I want is that when I select a person (row) in a portal, that additional field show information's about selected person. Any idea? The additional field should be related on a relation such as RelatedID. Whenever you select a record from the portal, this should be done by a transparent button above the row which first does take the related ID from the selected record, then does set this related id within the current record. Thus RelatedID does become valid and your extra info may be shown. Addon may be that you select the related field below the transparent button and won't even notice that you pressed a button first. Later versions of FMP do offer to perform a script on selecting a record. Thus you do no longer need the button. - Martin |
#3
| |||
| |||
|
|
Hi. I try this: I add a field called Selected_Person_ID in a table Companies (type=number). In a relationship graph I make a copy of a table Contact_persons and I called Selected_contact_person_from_portal. I connect fields in relationship graph: Companies: Selected_Person_ID = Selected_contact_person_from_portal:ID_Person I make a script in which I added: Set Field:[ Selected_contact_person_from_portal:ID_Person; Companies: Selected_Person_ID] Commitrecord/Request[No dialog] So when I select a row in a portal and trigger a script, in additional field nothing happened (no change in for example "Department" field |
)![]() |
| Thread Tools | |
| Display Modes | |
| |