Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.filemaker > #492

Re: Portal - showing selected row beside portal

From "Zarulja" <zarulja33@hotmail.com>
Newsgroups comp.databases.filemaker
Subject Re: Portal - showing selected row beside portal
Date 2011-12-01 11:08 +0100
Organization T-Com
Message-ID <jb7jmm$2v4$1@ss408.t-com.hr> (permalink)
References <jb7hbe$ron$1@ss408.t-com.hr> <slrnjdeiu4.7a.t-usenet@ID-685.user.individual.de>

Show all headers | View raw


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




With best regards

Zarulja

"Martin ?rautmann" <t-usenet@gmx.net> wrote in message 
news:slrnjdeiu4.7a.t-usenet@ID-685.user.individual.de...
> 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 

Back to comp.databases.filemaker | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Portal - showing selected row beside portal "Zarulja" <zarulja33@hotmail.com> - 2011-12-01 10:28 +0100
  Re: Portal - showing selected row beside portal Martin Τrautmann <t-usenet@gmx.net> - 2011-12-01 09:41 +0000
    Re: Portal - showing selected row beside portal "Zarulja" <zarulja33@hotmail.com> - 2011-12-01 11:08 +0100
      Re: Portal - showing selected row beside portal yourname@yourisp.com (Your Name) - 2011-12-02 13:21 +1300

csiph-web