FMPRO-L Archives

June 2011, Week 4

FMPRO-L@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jonathan Fletcher <[log in to unmask]>
Reply To:
FileMaker Pro Discussions <[log in to unmask]>
Date:
Wed, 22 Jun 2011 18:02:53 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
Not IsValid. That may give you a wrong answer under certain circumstances. The way described prior in this thread is correct.

j.


On Jun 22, 2011, at 5:29 PM, Tim Mansour wrote:

> The best way to tell if there are actual related records is to test
> for them using
> 
> IsValid ( Relationship::Field )
> 
> before you do your GTRR.
> 
> 
> Tim Mansour <[log in to unmask]>
> Neologica Print & Promotions ABN 63 904 335 408
> Certified FileMaker 10 Developer
> PO Box K1163 : Haymarket NSW 1240
> Mobile 0405 500 846
> 
> On 22/06/2011, at 20:26, Peter Buchanan <[log in to unmask]> wrote:
> 
>> When using the Go to Related Record script step, is there a specific error
>> code to look for with Get Last Error, for example if there are no related
>> records? I am trying to figure out what happens if there are no related
>> records :
>> 
>> I am using GTRR, and then importing the related records into another table.
>> How do I ensure only the related records (matching the current record) are
>> imported? Will GTRR still go to the layout (in related table) specified in
>> this command, even if no related records? Will the found set in related
>> table be nil records if no related records, or will it comprise all records?
>> 
>> Much appreciate any advice on checks to use with this script step.
>> 
>> Regards
>> Peter




--
Jonathan Fletcher
FileMaker 9 & 10 Certified Developer

Fletcher Data Consulting
[log in to unmask]
http://www.fletcherdata.com
502-509-7137

Kentuckiana's FileMaker Users Group
Next meeting: June 28, 12:00 pm to 3:00-ish
Listserv signup: http://fmpug.com/mailman/listinfo/louisville_fmpug.com
Blog: http://www.kyfmp.com

ATOM RSS1 RSS2