Re: Understanding Globals



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

.



Relevant Pages

  • [ANN] Java Web Parts 1.0 (GA) is now available
    ... The Java Web Parts (JWP) team is proud to announce that new year's day ... Javascript compressor, a request recorder, a cross-site scripting ... filter, a compression filter and an IP access control filter ... Listener - Context and Session listeners for various occassions ...
    (comp.lang.java.programmer)
  • Re: Better way? (DataView question)
    ... DataSet that's in session memory and create a filter? ... Create DataView from DataSet in session memory ... Dim ds As New DataSet ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Missing links in RTP streaming solution
    ... Usually, session establishment takes place ... I open a URL in windows media player e.g. ... in the "Extensions" sub-key what source filter to use ... Media player loads the source filter into the graph ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Modifying page output using Session data?
    ... based on a memory stream to the base.Render method. ... with accessing the session either. ... I must be able to manipulate ... >If I can only manipulate the page in a filter, that would be OK, as long ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Modifying page output using Session data?
    ... > with accessing the session either. ... I must be able to manipulate ... >>If I can only manipulate the page in a filter, that would be OK, as long ... which is before the response filters ...
    (microsoft.public.dotnet.framework.aspnet)