Re: Understanding Globals
- From: Lynn Allen <lynn@xxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 11:13:49 -0800
X-Trace
User-Agent: Unison/1.7.9
NNTP-Posting-Host: pool-71-189-225-146.lsanca.fios.verizon.net
X-Trace: news.bnb-lp.com 1204139627 pool-71-189-225-146.lsanca.fios.verizon.net (27 Feb 2008 14:13:47 -0500)
Lines: 31
X-Authenticated-User: vca037
X-DMCA-Complaints: Send abuse or DMCA complaints to abuse@xxxxxxxxxx
X-DMCA-Complaints: The subject line should contain only the 4 letters DMCA
Path: mail.derkeiler.com!drxx/nfxx!artnm!t2!feeder.news-service.com!feeder1.cambrium.nl!feed.tweaknews.nl!nx01.iad01.newshosting.com!newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.com!news.bnb-lp.com!not-for-mail
Xref: mail.derkeiler.com comp.databases.filemaker:116545
On 2008-02-27 10:27:48 -0800, "Ursus" <ursus.kirk@xxxxxxxxxx> said:
Further, in the case of filters for portals, you have the value in all the
records. If you would use a normal field you would loose the value when
switching to another record. Which would be very counter intuitive.
Actually, the difference between globals and non-globals in filtering portals is significant and the developer needs to deliberately choose which one suits the situation.
For instance, where a user is viewing a person's record, and you need to filter contact history records based on the person key and a date. The person key and the date has been placed into the filtering field. If the user then browses to a different person record, the wrong person key is in a global field. The user will be seeing the wrong person's records in the portal. When the user closes the FM session, they lose whatever filters were input.
On the other hand, if the filtering field is a regular field, one can maintain *different* filters on each parent record, and have them persist from session to session. Sometimes this is precisely what is needed. At other times, a universal filter as one browses from record to record is desired. In that case, a global field makes sense.
--
Lynn Allen
--
www.semiotics.com
Member Filemaker Business Alliance
Long Beach, CA
.
- Follow-Ups:
- Re: Understanding Globals
- From: JayBee
- Re: Understanding Globals
- References:
- Understanding Globals
- From: JayBee
- Re: Understanding Globals
- From: MAP
- Re: Understanding Globals
- From: Ursus
- Understanding Globals
- Prev by Date: Re: field mapping and import scripts revisited
- Next by Date: Re: Set text field to a certain value using a script -FM 8
- Previous by thread: Re: Understanding Globals
- Next by thread: Re: Understanding Globals
- Index(es):
Relevant Pages
|
|