Groups | Search | Server Info | Login | Register


Groups > comp.databases.filemaker > #292

GTRR in scripts

Newsgroups comp.databases.filemaker
Subject GTRR in scripts
From clk@tele2.ch (Christoph Kaufmann)
Date 2011-07-03 07:44 +0200
Message-ID <1k3tixb.6tt411u1mi82N%clk@tele2.ch> (permalink)
Organization CLK.ch

Show all headers | View raw


FMP 10 Adv: When using GTRR in a script, you want to be sure in what
context/layout you land. Which test works best for you?

- use the count function to check whethe related records exist
- use a get function after the GTRR to check what the underlying table
is
- get last error after GTRR
- others?

I used the first method so far, but it's no use if I have to go to the
related recods of all the records in my found set.

I tried the third option - get last error - but I get error 101 (missing
record) even though lots of records were found and GTRR worked as
expected. I assume I get error 101 when there's at least one record in
the found set with no related records (which is irrelevant).

Meaning I have check for context and found records after the GTRR. I
don't like it because it means I have to hard code the name of the TO in
the test.
-- 
http://clk.ch

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


Thread

GTRR in scripts clk@tele2.ch (Christoph Kaufmann) - 2011-07-03 07:44 +0200
  Re: GTRR in scripts David Jondreau <david@wingforward.net> - 2011-07-03 10:31 -0700
    Re: GTRR in scripts David Jondreau <david@wingforward.net> - 2011-07-03 19:35 -0700
    Re: GTRR in scripts clk@tele2.ch (Christoph Kaufmann) - 2011-07-04 06:04 +0200
  Re: GTRR in scripts cortical <cb@corticaldata.com.au> - 2011-07-04 12:02 +0930
  Re: GTRR in scripts clk@tele2.ch (Christoph Kaufmann) - 2011-07-04 06:09 +0200

csiph-web